@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorRepositoryCommitRef extends Phobject {
4
5 private $identifier;
6 private $epoch;
7 private $branch;
8 private $isPermanent;
9 private $parents = array();
10
11 public function setIdentifier($identifier) {
12 $this->identifier = $identifier;
13 return $this;
14 }
15
16 public function getIdentifier() {
17 return $this->identifier;
18 }
19
20 public function setEpoch($epoch) {
21 $this->epoch = $epoch;
22 return $this;
23 }
24
25 public function getEpoch() {
26 return $this->epoch;
27 }
28
29 public function setBranch($branch) {
30 $this->branch = $branch;
31 return $this;
32 }
33
34 public function getBranch() {
35 return $this->branch;
36 }
37
38 public function setIsPermanent($is_permanent) {
39 $this->isPermanent = $is_permanent;
40 return $this;
41 }
42
43 public function getIsPermanent() {
44 return $this->isPermanent;
45 }
46
47 public function setParents(array $parents) {
48 $this->parents = $parents;
49 return $this;
50 }
51
52 public function getParents() {
53 return $this->parents;
54 }
55
56}