Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15378895
D14655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D14655.diff
View Options
diff --git a/src/infrastructure/daemon/bot/target/PhabricatorBotTarget.php b/src/infrastructure/daemon/bot/target/PhabricatorBotTarget.php
--- a/src/infrastructure/daemon/bot/target/PhabricatorBotTarget.php
+++ b/src/infrastructure/daemon/bot/target/PhabricatorBotTarget.php
@@ -6,10 +6,15 @@
*/
abstract class PhabricatorBotTarget extends Phobject {
+ private $id;
private $name;
- public function setName($name) {
- $this->name = $name;
+ private function getId() {
+ return $this->id;
+ }
+
+ private function setId($id) {
+ $this->id = $id;
return $this;
}
@@ -17,6 +22,11 @@
return $this->name;
}
+ public function setName($name) {
+ $this->name = $name;
+ return $this;
+ }
+
abstract public function isPublic();
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 14 2025, 5:34 PM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225661
Default Alt Text
D14655.diff (780 B)
Attached To
Mode
D14655: Add an ID field to `PhabricatorBotTarget`
Attached
Detach File
Event Timeline
Log In to Comment