Differential D25040 Diff 97 src/applications/diffusion/conduit/DiffusionLookSoonConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionLookSoonConduitAPIMethod.php
<?php | <?php | ||||
final class DiffusionLookSoonConduitAPIMethod | final class DiffusionLookSoonConduitAPIMethod | ||||
extends DiffusionConduitAPIMethod { | extends DiffusionConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'diffusion.looksoon'; | return 'diffusion.looksoon'; | ||||
} | } | ||||
public function getMethodStatus() { | public function getMethodStatus() { | ||||
return self::METHOD_STATUS_UNSTABLE; | return self::METHOD_STATUS_UNSTABLE; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht( | return pht( | ||||
'Advises Phabricator to look for new commits in a repository as soon '. | 'Advises this server to look for new commits in a repository as soon '. | ||||
'as possible. This advice is most useful if you have just pushed new '. | 'as possible. This advice is most useful if you have just pushed new '. | ||||
'commits to that repository.'); | 'commits to that repository.'); | ||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'void'; | return 'void'; | ||||
} | } | ||||
Show All 37 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0