Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
| <?php | <?php | ||||
| final class DifferentialRevision extends DifferentialDAO | final class DifferentialRevision extends DifferentialDAO | ||||
| implements | implements | ||||
| PhabricatorTokenReceiverInterface, | PhabricatorTokenReceiverInterface, | ||||
| PhabricatorPolicyInterface, | PhabricatorPolicyInterface, | ||||
| PhabricatorFlaggableInterface, | PhabricatorFlaggableInterface, | ||||
| PhrequentTrackableInterface { | PhrequentTrackableInterface, | ||||
| HarbormasterBuildableInterface { | |||||
| protected $title = ''; | protected $title = ''; | ||||
| protected $originalTitle; | protected $originalTitle; | ||||
| protected $status; | protected $status; | ||||
| protected $summary = ''; | protected $summary = ''; | ||||
| protected $testPlan = ''; | protected $testPlan = ''; | ||||
| ▲ Show 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | public function attachRepository(PhabricatorRepository $repository = null) { | ||||
| $this->repository = $repository; | $this->repository = $repository; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function isClosed() { | public function isClosed() { | ||||
| return DifferentialRevisionStatus::isClosedStatus($this->getStatus()); | return DifferentialRevisionStatus::isClosedStatus($this->getStatus()); | ||||
| } | } | ||||
| /* -( HarbormasterBuildableInterface )------------------------------------- */ | |||||
| public function getHarbormasterBuildablePHID() { | |||||
| return $this->loadActiveDiff()->getPHID(); | |||||
| } | |||||
| public function getHarbormasterContainerPHID() { | |||||
| return $this->getPHID(); | |||||
| } | |||||
| } | } | ||||