Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96431006
PhabricatorDaemonLog.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, Dec 26, 17:01
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Dec 28, 17:01 (2 d)
Engine
blob
Format
Raw Data
Handle
23183320
Attached To
rPH Phabricator
PhabricatorDaemonLog.php
View Options
<?php
final
class
PhabricatorDaemonLog
extends
PhabricatorDaemonDAO
implements
PhabricatorPolicyInterface
{
const
STATUS_UNKNOWN
=
'unknown'
;
const
STATUS_RUNNING
=
'run'
;
const
STATUS_DEAD
=
'dead'
;
const
STATUS_WAIT
=
'wait'
;
const
STATUS_EXITED
=
'exit'
;
protected
$daemon
;
protected
$host
;
protected
$pid
;
protected
$argv
;
protected
$status
;
public
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_SERIALIZATION
=>
array
(
'argv'
=>
self
::
SERIALIZATION_JSON
,
),
)
+
parent
::
getConfiguration
();
}
/* -( PhabricatorPolicyInterface )----------------------------------------- */
public
function
getCapabilities
()
{
return
array
(
PhabricatorPolicyCapability
::
CAN_VIEW
,
);
}
public
function
getPolicy
(
$capability
)
{
return
PhabricatorPolicies
::
POLICY_ADMIN
;
}
public
function
hasAutomaticCapability
(
$capability
,
PhabricatorUser
$viewer
)
{
return
false
;
}
public
function
describeAutomaticCapability
(
$capability
)
{
return
null
;
}
}
Event Timeline
Log In to Comment