Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/conduit/interface/PhabricatorConduitResultInterface.php
12262 views
1
<?php
2
3
interface PhabricatorConduitResultInterface
4
extends PhabricatorPHIDInterface {
5
6
public function getFieldSpecificationsForConduit();
7
public function getFieldValuesForConduit();
8
public function getConduitSearchAttachments();
9
10
}
11
12
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
13
14
/* -( PhabricatorConduitResultInterface )---------------------------------- */
15
/*
16
17
public function getFieldSpecificationsForConduit() {
18
return array(
19
id(new PhabricatorConduitSearchFieldSpecification())
20
->setKey('name')
21
->setType('string')
22
->setDescription(pht('The name of the object.')),
23
);
24
}
25
26
public function getFieldValuesForConduit() {
27
return array(
28
'name' => $this->getName(),
29
);
30
}
31
32
public function getConduitSearchAttachments() {
33
return array();
34
}
35
36
*/
37
38