Differential D21783 Diff 51939 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 |