Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryCommit.php
| <?php | <?php | ||||
| final class PhabricatorRepositoryCommit | final class PhabricatorRepositoryCommit | ||||
| extends PhabricatorRepositoryDAO | extends PhabricatorRepositoryDAO | ||||
| implements | implements | ||||
| PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
| PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
| PhabricatorProjectInterface, | PhabricatorProjectInterface, | ||||
| PhabricatorTokenReceiverInterface, | PhabricatorTokenReceiverInterface, | ||||
| PhabricatorSubscribableInterface, | PhabricatorSubscribableInterface, | ||||
| PhabricatorMentionableInterface, | PhabricatorMentionableInterface, | ||||
| HarbormasterBuildableInterface, | HarbormasterBuildableInterface, | ||||
| HarbormasterCircleCIBuildableInterface, | HarbormasterCircleCIBuildableInterface, | ||||
| PhabricatorCustomFieldInterface, | PhabricatorCustomFieldInterface, | ||||
| PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
| PhabricatorFulltextInterface { | PhabricatorFulltextInterface, | ||||
| PhabricatorConduitResultInterface { | |||||
| protected $repositoryID; | protected $repositoryID; | ||||
| protected $phid; | protected $phid; | ||||
| protected $commitIdentifier; | protected $commitIdentifier; | ||||
| protected $epoch; | protected $epoch; | ||||
| protected $mailKey; | protected $mailKey; | ||||
| protected $authorPHID; | protected $authorPHID; | ||||
| protected $auditStatus = PhabricatorAuditCommitStatusConstants::NONE; | protected $auditStatus = PhabricatorAuditCommitStatusConstants::NONE; | ||||
| ▲ Show 20 Lines • Show All 550 Lines • ▼ Show 20 Lines | |||||
| /* -( PhabricatorFulltextInterface )--------------------------------------- */ | /* -( PhabricatorFulltextInterface )--------------------------------------- */ | ||||
| public function newFulltextEngine() { | public function newFulltextEngine() { | ||||
| return new DiffusionCommitFulltextEngine(); | return new DiffusionCommitFulltextEngine(); | ||||
| } | } | ||||
| /* -( PhabricatorConduitResultInterface )---------------------------------- */ | |||||
| public function getFieldSpecificationsForConduit() { | |||||
| return array( | |||||
| id(new PhabricatorConduitSearchFieldSpecification()) | |||||
| ->setKey('identifier') | |||||
| ->setType('string') | |||||
| ->setDescription(pht('The commit identifier.')), | |||||
| ); | |||||
| } | |||||
| public function getFieldValuesForConduit() { | |||||
| return array( | |||||
| 'identifier' => $this->getCommitIdentifier(), | |||||
| ); | |||||
| } | |||||
| public function getConduitSearchAttachments() { | |||||
| return array(); | |||||
| } | |||||
| } | } | ||||