Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15514525
D7781.id17607.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7781.id17607.diff
View Options
Index: src/applications/herald/engine/HeraldEffect.php
===================================================================
--- src/applications/herald/engine/HeraldEffect.php
+++ src/applications/herald/engine/HeraldEffect.php
@@ -2,14 +2,15 @@
final class HeraldEffect {
- protected $objectPHID;
- protected $action;
- protected $target;
+ private $objectPHID;
+ private $action;
+ private $target;
- protected $ruleID;
- protected $effector;
+ private $ruleID;
+ private $rulePHID;
+ private $effector;
- protected $reason;
+ private $reason;
public function setObjectPHID($object_phid) {
$this->objectPHID = $object_phid;
@@ -47,6 +48,15 @@
return $this->ruleID;
}
+ public function setRulePHID($rule_phid) {
+ $this->rulePHID = $rule_phid;
+ return $this;
+ }
+
+ public function getRulePHID() {
+ return $this->rulePHID;
+ }
+
public function setEffector($effector) {
$this->effector = $effector;
return $this;
Index: src/applications/herald/engine/HeraldEngine.php
===================================================================
--- src/applications/herald/engine/HeraldEngine.php
+++ src/applications/herald/engine/HeraldEngine.php
@@ -359,6 +359,7 @@
$effect->setTarget($action->getTarget());
$effect->setRuleID($rule->getID());
+ $effect->setRulePHID($rule->getPHID());
$name = $rule->getName();
$id = $rule->getID();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 19, 3:25 AM (4 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7588933
Default Alt Text
D7781.id17607.diff (1 KB)
Attached To
Mode
D7781: Add `rulePHID` to HeraldEffect
Attached
Detach File
Event Timeline
Log In to Comment