Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105981620
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
Fri, Mar 21, 06:39
Size
425 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 06:39 (2 d)
Engine
blob
Format
Raw Data
Handle
25067983
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