Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79193296
PhabricatorTestApplication.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
Sun, Aug 25, 05:20
Size
708 B
Mime Type
text/x-php
Expires
Tue, Aug 27, 05:20 (2 d)
Engine
blob
Format
Raw Data
Handle
20159643
Attached To
rPH Phabricator
PhabricatorTestApplication.php
View Options
<?php
final
class
PhabricatorTestApplication
extends
PhabricatorApplication
{
private
$policies
=
array
();
public
function
getName
()
{
return
pht
(
'Test'
);
}
public
function
isUnlisted
()
{
return
true
;
}
public
function
isLaunchable
()
{
return
false
;
}
public
function
reset
()
{
$this
->
policies
=
array
();
}
public
function
setPolicy
(
$capability
,
$value
)
{
$this
->
policies
[
$capability
]
=
$value
;
return
$this
;
}
public
function
getPolicy
(
$capability
)
{
return
idx
(
$this
->
policies
,
$capability
,
parent
::
getPolicy
(
$capability
));
}
public
function
canUninstall
()
{
return
false
;
}
public
function
getRoutes
()
{
return
array
();
}
}
Event Timeline
Log In to Comment