Differential D17158 Diff 41267 src/applications/differential/conduit/DifferentialCloseConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/conduit/DifferentialCloseConduitAPIMethod.php
<?php | <?php | ||||
final class DifferentialCloseConduitAPIMethod | final class DifferentialCloseConduitAPIMethod | ||||
extends DifferentialConduitAPIMethod { | extends DifferentialConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'differential.close'; | return 'differential.close'; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Close a Differential revision.'); | return pht('Close a Differential revision.'); | ||||
} | } | ||||
public function getMethodStatus() { | |||||
return self::METHOD_STATUS_FROZEN; | |||||
} | |||||
public function getMethodStatusDescription() { | |||||
return pht( | |||||
'This method is frozen and will eventually be deprecated. New code '. | |||||
'should use "differential.revision.edit" instead.'); | |||||
} | |||||
protected function defineParamTypes() { | protected function defineParamTypes() { | ||||
return array( | return array( | ||||
'revisionID' => 'required int', | 'revisionID' => 'required int', | ||||
); | ); | ||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'void'; | return 'void'; | ||||
Show All 40 Lines |