Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F69074436
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
Sun, Jun 30, 03:47
Size
553 B
Mime Type
text/x-php
Expires
Tue, Jul 2, 03:47 (2 d)
Engine
blob
Format
Raw Data
Handle
18368617
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