Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/paste/conduit/PasteEditConduitAPIMethod.php
12241 views
1
<?php
2
3
final class PasteEditConduitAPIMethod
4
extends PhabricatorEditEngineAPIMethod {
5
6
public function getAPIMethodName() {
7
return 'paste.edit';
8
}
9
10
public function newEditEngine() {
11
return new PhabricatorPasteEditEngine();
12
}
13
14
public function getMethodSummary() {
15
return pht(
16
'Apply transactions to create a new paste or edit an existing one.');
17
}
18
19
}
20
21