Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/method/ConduitAPIMethod.php
<?php | <?php | ||||
/** | /** | ||||
* @task info Method Information | * @task info Method Information | ||||
* @task status Method Status | * @task status Method Status | ||||
* @task pager Paging Results | * @task pager Paging Results | ||||
*/ | */ | ||||
abstract class ConduitAPIMethod | abstract class ConduitAPIMethod | ||||
extends Phobject | extends Phobject | ||||
implements PhabricatorPolicyInterface { | implements PhabricatorPolicyInterface { | ||||
private $viewer; | private $viewer; | ||||
const METHOD_STATUS_STABLE = 'stable'; | const METHOD_STATUS_STABLE = 'stable'; | ||||
const METHOD_STATUS_UNSTABLE = 'unstable'; | const METHOD_STATUS_UNSTABLE = 'unstable'; | ||||
const METHOD_STATUS_DEPRECATED = 'deprecated'; | const METHOD_STATUS_DEPRECATED = 'deprecated'; | ||||
const METHOD_STATUS_FROZEN = 'frozen'; | |||||
const SCOPE_NEVER = 'scope.never'; | const SCOPE_NEVER = 'scope.never'; | ||||
const SCOPE_ALWAYS = 'scope.always'; | const SCOPE_ALWAYS = 'scope.always'; | ||||
/** | /** | ||||
* Get a short, human-readable text summary of the method. | * Get a short, human-readable text summary of the method. | ||||
* | * | ||||
* @return string Short summary of method. | * @return string Short summary of method. | ||||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |