Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2349254
HeraldDryRunAdapter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
652 B
Referenced Files
None
Subscribers
None
HeraldDryRunAdapter.php
View Options
<?php
final
class
HeraldDryRunAdapter
extends
HeraldAdapter
{
public
function
getPHID
()
{
return
0
;
}
public
function
getHeraldName
()
{
return
'Dry Run'
;
}
public
function
getHeraldTypeName
()
{
return
null
;
}
public
function
getHeraldField
(
$field
)
{
return
null
;
}
public
function
applyHeraldEffects
(
array
$effects
)
{
assert_instances_of
(
$effects
,
'HeraldEffect'
);
$results
=
array
();
foreach
(
$effects
as
$effect
)
{
$results
[]
=
new
HeraldApplyTranscript
(
$effect
,
false
,
pht
(
'This was a dry run, so no actions were actually taken.'
));
}
return
$results
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Sep 16, 11:26 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
447657
Default Alt Text
HeraldDryRunAdapter.php (652 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment