Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / repository / engine / PhabricatorRepositoryCommitRef.php
blob148b99f3e00471620f54f41bbeaf38330b842422
1 <?php
3 final class PhabricatorRepositoryCommitRef extends Phobject {
5 private $identifier;
6 private $epoch;
7 private $branch;
8 private $isPermanent;
9 private $parents = array();
11 public function setIdentifier($identifier) {
12 $this->identifier = $identifier;
13 return $this;
16 public function getIdentifier() {
17 return $this->identifier;
20 public function setEpoch($epoch) {
21 $this->epoch = $epoch;
22 return $this;
25 public function getEpoch() {
26 return $this->epoch;
29 public function setBranch($branch) {
30 $this->branch = $branch;
31 return $this;
34 public function getBranch() {
35 return $this->branch;
38 public function setIsPermanent($is_permanent) {
39 $this->isPermanent = $is_permanent;
40 return $this;
43 public function getIsPermanent() {
44 return $this->isPermanent;
47 public function setParents(array $parents) {
48 $this->parents = $parents;
49 return $this;
52 public function getParents() {
53 return $this->parents;