Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
Show First 20 Lines • Show All 901 Lines • ▼ Show 20 Lines | /* -( PhabricatorConduitResultInterface )---------------------------------- */ | ||||
public function getFieldValuesForConduit() { | public function getFieldValuesForConduit() { | ||||
return array( | return array( | ||||
'title' => $this->getTitle(), | 'title' => $this->getTitle(), | ||||
'authorPHID' => $this->getAuthorPHID(), | 'authorPHID' => $this->getAuthorPHID(), | ||||
); | ); | ||||
} | } | ||||
public function getConduitSearchAttachments() { | public function getConduitSearchAttachments() { | ||||
return array(); | return array( | ||||
id(new DifferentialReviewersSearchEngineAttachment()) | |||||
->setAttachmentKey('reviewers'), | |||||
); | |||||
} | } | ||||
/* -( PhabricatorDraftInterface )------------------------------------------ */ | /* -( PhabricatorDraftInterface )------------------------------------------ */ | ||||
public function newDraftEngine() { | public function newDraftEngine() { | ||||
return new DifferentialRevisionDraftEngine(); | return new DifferentialRevisionDraftEngine(); | ||||
} | } | ||||
} | } |