Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101429056
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
Mon, Feb 10, 09:11
Size
559 B
Mime Type
text/x-php
Expires
Wed, Feb 12, 09:11 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24159520
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