[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class HeraldApplyTranscript extends Phobject { 4 5 private $action; 6 private $target; 7 8 private $ruleID; 9 private $effector; 10 11 private $reason; 12 13 private $applied; 14 private $appliedReason; 15 16 public function __construct( 17 HeraldEffect $effect, 18 $applied, 19 $reason = null) { 20 21 $this->setAction($effect->getAction()); 22 $this->setTarget($effect->getTarget()); 23 $this->setRuleID($effect->getRuleID()); 24 $this->setEffector($effect->getEffector()); 25 $this->setReason($effect->getReason()); 26 $this->setApplied($applied); 27 $this->setAppliedReason($reason); 28 } 29 30 public function setAction($action) { 31 $this->action = $action; 32 return $this; 33 } 34 35 public function getAction() { 36 return $this->action; 37 } 38 39 public function setTarget($target) { 40 $this->target = $target; 41 return $this; 42 } 43 44 public function getTarget() { 45 return $this->target; 46 } 47 48 public function setRuleID($rule_id) { 49 $this->ruleID = $rule_id; 50 return $this; 51 } 52 53 public function getRuleID() { 54 return $this->ruleID; 55 } 56 57 public function setEffector($effector) { 58 $this->effector = $effector; 59 return $this; 60 } 61 62 public function getEffector() { 63 return $this->effector; 64 } 65 66 public function setReason($reason) { 67 $this->reason = $reason; 68 return $this; 69 } 70 71 public function getReason() { 72 return $this->reason; 73 } 74 75 public function setApplied($applied) { 76 $this->applied = $applied; 77 return $this; 78 } 79 80 public function getApplied() { 81 return $this->applied; 82 } 83 84 public function setAppliedReason($applied_reason) { 85 $this->appliedReason = $applied_reason; 86 return $this; 87 } 88 89 public function getAppliedReason() { 90 return $this->appliedReason; 91 } 92 93 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |