Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103151427
DiffusionPreCommitRefRepositoryHeraldField.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
Thu, Feb 27, 17:00
Size
559 B
Mime Type
text/x-php
Expires
Sat, Mar 1, 17:00 (2 d)
Engine
blob
Format
Raw Data
Handle
24340923
Attached To
rPH Phabricator
DiffusionPreCommitRefRepositoryHeraldField.php
View Options
<?php
final
class
DiffusionPreCommitRefRepositoryHeraldField
extends
DiffusionPreCommitRefHeraldField
{
const
FIELDCONST
=
'diffusion.pre.ref.repository'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Repository'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getHookEngine
()->
getRepository
()->
getPHID
();
}
protected
function
getHeraldFieldStandardType
()
{
return
HeraldField
::
STANDARD_PHID
;
}
protected
function
getDatasource
()
{
return
new
DiffusionRepositoryDatasource
();
}
}
Event Timeline
Log In to Comment