Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F679923
DiffusionPreCommitRefPusherHeraldField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
541 B
Referenced Files
None
Subscribers
None
DiffusionPreCommitRefPusherHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefPusherHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.pusher'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Pusher'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getHookEngine
()->
getViewer
()->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
PhabricatorPeopleDatasource
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 27, 8:52 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
166312
Default Alt Text
DiffusionPreCommitRefPusherHeraldField.php (541 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment