Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/herald/engine/HeraldEffect.php
12256 views
1
<?php
2
3
final class HeraldEffect extends Phobject {
4
5
private $objectPHID;
6
private $action;
7
private $target;
8
private $rule;
9
private $reason;
10
11
public function setObjectPHID($object_phid) {
12
$this->objectPHID = $object_phid;
13
return $this;
14
}
15
16
public function getObjectPHID() {
17
return $this->objectPHID;
18
}
19
20
public function setAction($action) {
21
$this->action = $action;
22
return $this;
23
}
24
25
public function getAction() {
26
return $this->action;
27
}
28
29
public function setTarget($target) {
30
$this->target = $target;
31
return $this;
32
}
33
34
public function getTarget() {
35
return $this->target;
36
}
37
38
public function setRule(HeraldRule $rule) {
39
$this->rule = $rule;
40
return $this;
41
}
42
43
public function getRule() {
44
return $this->rule;
45
}
46
47
public function setReason($reason) {
48
$this->reason = $reason;
49
return $this;
50
}
51
52
public function getReason() {
53
return $this->reason;
54
}
55
56
}
57
58