Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93605704
DiffusionPreCommitRefHeraldField.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, Nov 30, 02:50
Size
428 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 02:50 (2 d)
Engine
blob
Format
Raw Data
Handle
22671925
Attached To
rPH Phabricator
DiffusionPreCommitRefHeraldField.php
View Options
<?php
abstract
class
DiffusionPreCommitRefHeraldField
extends
HeraldField
{
public
function
supportsObject
(
$object
)
{
if
(!(
$object
instanceof
PhabricatorRepositoryPushLog
))
{
return
false
;
}
if
(!
$this
->
getAdapter
()->
isPreCommitRefAdapter
())
{
return
false
;
}
return
true
;
}
public
function
getFieldGroupKey
()
{
return
DiffusionPreCommitRefHeraldFieldGroup
::
FIELDGROUPKEY
;
}
}
Event Timeline
Log In to Comment