Differential D21514 Diff 51208 src/applications/repository/engine/PhabricatorRepositoryCommitRef.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/engine/PhabricatorRepositoryCommitRef.php
| <?php | <?php | ||||
| final class PhabricatorRepositoryCommitRef extends Phobject { | final class PhabricatorRepositoryCommitRef extends Phobject { | ||||
| private $identifier; | private $identifier; | ||||
| private $epoch; | private $epoch; | ||||
| private $branch; | private $branch; | ||||
| private $canCloseImmediately; | private $isPermanent; | ||||
| private $parents = array(); | private $parents = array(); | ||||
| public function setIdentifier($identifier) { | public function setIdentifier($identifier) { | ||||
| $this->identifier = $identifier; | $this->identifier = $identifier; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getIdentifier() { | public function getIdentifier() { | ||||
| Show All 13 Lines | public function setBranch($branch) { | ||||
| $this->branch = $branch; | $this->branch = $branch; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getBranch() { | public function getBranch() { | ||||
| return $this->branch; | return $this->branch; | ||||
| } | } | ||||
| public function setCanCloseImmediately($can_close_immediately) { | public function setIsPermanent($is_permanent) { | ||||
| $this->canCloseImmediately = $can_close_immediately; | $this->isPermanent = $is_permanent; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getCanCloseImmediately() { | public function getIsPermanent() { | ||||
| return $this->canCloseImmediately; | return $this->isPermanent; | ||||
| } | } | ||||
| public function setParents(array $parents) { | public function setParents(array $parents) { | ||||
| $this->parents = $parents; | $this->parents = $parents; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getParents() { | public function getParents() { | ||||
| return $this->parents; | return $this->parents; | ||||
| } | } | ||||
| } | } | ||||