Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96287396
HeraldApplyTranscript.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
Tue, Dec 24, 14:15
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Dec 26, 14:15 (2 d)
Engine
blob
Format
Raw Data
Handle
23150669
Attached To
rPH Phabricator
HeraldApplyTranscript.php
View Options
<?php
final
class
HeraldApplyTranscript
extends
Phobject
{
private
$action
;
private
$target
;
private
$ruleID
;
private
$reason
;
private
$applied
;
private
$appliedReason
;
public
function
__construct
(
HeraldEffect
$effect
,
$applied
,
$reason
=
null
)
{
$this
->
setAction
(
$effect
->
getAction
());
$this
->
setTarget
(
$effect
->
getTarget
());
$this
->
setRuleID
(
$effect
->
getRuleID
());
$this
->
setReason
(
$effect
->
getReason
());
$this
->
setApplied
(
$applied
);
$this
->
setAppliedReason
(
$reason
);
}
public
function
setAction
(
$action
)
{
$this
->
action
=
$action
;
return
$this
;
}
public
function
getAction
()
{
return
$this
->
action
;
}
public
function
setTarget
(
$target
)
{
$this
->
target
=
$target
;
return
$this
;
}
public
function
getTarget
()
{
return
$this
->
target
;
}
public
function
setRuleID
(
$rule_id
)
{
$this
->
ruleID
=
$rule_id
;
return
$this
;
}
public
function
getRuleID
()
{
return
$this
->
ruleID
;
}
public
function
setReason
(
$reason
)
{
$this
->
reason
=
$reason
;
return
$this
;
}
public
function
getReason
()
{
return
$this
->
reason
;
}
public
function
setApplied
(
$applied
)
{
$this
->
applied
=
$applied
;
return
$this
;
}
public
function
getApplied
()
{
return
$this
->
applied
;
}
public
function
setAppliedReason
(
$applied_reason
)
{
$this
->
appliedReason
=
$applied_reason
;
return
$this
;
}
public
function
getAppliedReason
()
{
return
$this
->
appliedReason
;
}
}
Event Timeline
Log In to Comment