Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/conduit/PasteEditConduitAPIMethod.php
| <?php | <?php | ||||
| final class PasteEditConduitAPIMethod | final class PasteEditConduitAPIMethod | ||||
| extends PhabricatorApplicationEditEngineAPIMethod { | extends PhabricatorEditEngineAPIMethod { | ||||
| public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
| return 'paste.edit'; | return 'paste.edit'; | ||||
| } | } | ||||
| public function newEditEngine() { | public function newEditEngine() { | ||||
| return new PhabricatorPasteEditEngine(); | return new PhabricatorPasteEditEngine(); | ||||
| } | } | ||||
| public function getMethodSummary() { | public function getMethodSummary() { | ||||
| return pht( | return pht( | ||||
| 'Apply transactions to create a new paste or edit an existing one.'); | 'Apply transactions to create a new paste or edit an existing one.'); | ||||
| } | } | ||||
| } | } | ||||