Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106598925
HeraldDryRunAdapter.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
Fri, Mar 28, 02:36
Size
773 B
Mime Type
text/x-php
Expires
Sun, Mar 30, 03:36 (2 d)
Engine
blob
Format
Raw Data
Handle
25230347
Attached To
rPH Phabricator
HeraldDryRunAdapter.php
View Options
<?php
final
class
HeraldDryRunAdapter
extends
HeraldAdapter
{
public
function
getPHID
()
{
return
0
;
}
public
function
isEnabled
()
{
return
false
;
}
public
function
getAdapterContentName
()
{
return
null
;
}
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
;
}
}
Event Timeline
Log In to Comment