Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105831127
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
Thu, Mar 20, 02:33
Size
319 B
Mime Type
text/x-php
Expires
Sat, Mar 22, 02:33 (2 d)
Engine
blob
Format
Raw Data
Handle
25055981
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
;
}
}
Event Timeline
Log In to Comment