Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93578247
PholioMockRelationship.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, Nov 29, 21:33
Size
390 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 21:33 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22669291
Attached To
rPH Phabricator
PholioMockRelationship.php
View Options
<?php
abstract
class
PholioMockRelationship
extends
PhabricatorObjectRelationship
{
public
function
isEnabledForObject
(
$object
)
{
$viewer
=
$this
->
getViewer
();
$has_app
=
PhabricatorApplication
::
isClassInstalledForViewer
(
'PhabricatorPholioApplication'
,
$viewer
);
if
(!
$has_app
)
{
return
false
;
}
return
(
$object
instanceof
PholioMock
);
}
}
Event Timeline
Log In to Comment