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, | ||||
| PhabricatorTokenReceiverInterface { | PhabricatorTokenReceiverInterface, | ||||
| HarbormasterBuildableInterface { | |||||
| 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 209 Lines • ▼ Show 20 Lines | return array( | ||||
| 'importStatus' => $this->getImportStatus(), | 'importStatus' => $this->getImportStatus(), | ||||
| ); | ); | ||||
| } | } | ||||
| public static function newFromDictionary(array $dict) { | public static function newFromDictionary(array $dict) { | ||||
| return id(new PhabricatorRepositoryCommit()) | return id(new PhabricatorRepositoryCommit()) | ||||
| ->loadFromArray($dict); | ->loadFromArray($dict); | ||||
| } | } | ||||
| /* -( HarbormasterBuildableInterface )------------------------------------- */ | |||||
| public function getHarbormasterBuildablePHID() { | |||||
| return $this->getPHID(); | |||||
| } | |||||
| public function getHarbormasterContainerPHID() { | |||||
| return $this->getRepository()->getPHID(); | |||||
| } | |||||
| } | } | ||||