Differential D21772 Diff 51908 src/applications/remarkup/conduit/RemarkupProcessConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/remarkup/conduit/RemarkupProcessConduitAPIMethod.php
<?php | <?php | ||||
final class RemarkupProcessConduitAPIMethod extends ConduitAPIMethod { | final class RemarkupProcessConduitAPIMethod extends ConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'remarkup.process'; | return 'remarkup.process'; | ||||
} | } | ||||
public function getMethodStatus() { | public function getMethodStatus() { | ||||
return self::METHOD_STATUS_UNSTABLE; | return self::METHOD_STATUS_UNSTABLE; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Process text through remarkup in Phabricator context.'); | return pht('Process text through remarkup.'); | ||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'nonempty dict'; | return 'nonempty dict'; | ||||
} | } | ||||
protected function defineErrorTypes() { | protected function defineErrorTypes() { | ||||
return array( | return array( | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |