Differential D19559 Diff 46762 src/applications/diffusion/conduit/DiffusionGetRecentCommitsByPathConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionGetRecentCommitsByPathConduitAPIMethod.php
| <?php | <?php | ||||
| final class DiffusionGetRecentCommitsByPathConduitAPIMethod | final class DiffusionGetRecentCommitsByPathConduitAPIMethod | ||||
| extends DiffusionConduitAPIMethod { | extends DiffusionConduitAPIMethod { | ||||
| const DEFAULT_LIMIT = 10; | const DEFAULT_LIMIT = 10; | ||||
| public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
| return 'diffusion.getrecentcommitsbypath'; | return 'diffusion.getrecentcommitsbypath'; | ||||
| } | } | ||||
| public function getMethodStatus() { | |||||
| return self::METHOD_STATUS_DEPRECATED; | |||||
| } | |||||
| public function getMethodStatusDescription() { | |||||
| return pht('Obsoleted by "diffusion.historyquery".'); | |||||
| } | |||||
| public function getMethodDescription() { | public function getMethodDescription() { | ||||
| return pht( | return pht( | ||||
| 'Get commit identifiers for recent commits affecting a given path.'); | 'Get commit identifiers for recent commits affecting a given path.'); | ||||
| } | } | ||||
| protected function defineParamTypes() { | protected function defineParamTypes() { | ||||
| return array( | return array( | ||||
| 'callsign' => 'required string', | 'callsign' => 'required string', | ||||
| ▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines | |||||