Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106648268
DiffusionPreCommitContentPusherHeraldField.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
Sat, Mar 29, 08:51
Size
553 B
Mime Type
text/x-php
Expires
Mon, Mar 31, 09:51 (2 d)
Engine
blob
Format
Raw Data
Handle
25244368
Attached To
rPH Phabricator
DiffusionPreCommitContentPusherHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitContentPusherHeraldField
extends
DiffusionPreCommitContentHeraldField
{
const
FIELDCONST
=
'diffusion.pre.content.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
();
}
}
Event Timeline
Log In to Comment