Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96199346
PhabricatorBotMessage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Dec 23, 17:16
Size
910 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 17:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23142826
Attached To
rPH Phabricator
PhabricatorBotMessage.php
View Options
<?php
final
class
PhabricatorBotMessage
{
private
$sender
;
private
$command
;
private
$body
;
private
$target
;
private
$public
;
public
function
__construct
()
{
// By default messages are public
$this
->
public
=
true
;
}
public
function
setSender
(
PhabricatorBotTarget
$sender
=
null
)
{
$this
->
sender
=
$sender
;
return
$this
;
}
public
function
getSender
()
{
return
$this
->
sender
;
}
public
function
setCommand
(
$command
)
{
$this
->
command
=
$command
;
return
$this
;
}
public
function
getCommand
()
{
return
$this
->
command
;
}
public
function
setBody
(
$body
)
{
$this
->
body
=
$body
;
return
$this
;
}
public
function
getBody
()
{
return
$this
->
body
;
}
public
function
setTarget
(
PhabricatorBotTarget
$target
=
null
)
{
$this
->
target
=
$target
;
return
$this
;
}
public
function
getTarget
()
{
return
$this
->
target
;
}
}
Event Timeline
Log In to Comment