Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102242782
DiffusionPreCommitContentHeraldField.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
Tue, Feb 18, 16:23
Size
425 B
Mime Type
text/x-php
Expires
Thu, Feb 20, 16:23 (2 d)
Engine
blob
Format
Raw Data
Handle
24162121
Attached To
rPH Phabricator
DiffusionPreCommitContentHeraldField.php
View Options
<?php
abstract
class
DiffusionPreCommitContentHeraldField
extends
HeraldField
{
public
function
supportsObject
(
$object
)
{
if
(!(
$object
instanceof
PhabricatorRepositoryPushLog
))
{
return
false
;
}
if
(
$this
->
getAdapter
()->
isPreCommitRefAdapter
())
{
return
false
;
}
return
true
;
}
public
function
getFieldGroupKey
()
{
return
DiffusionCommitHeraldFieldGroup
::
FIELDGROUPKEY
;
}
}
Event Timeline
Log In to Comment