Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102367202
PhabricatorConduitMethodCallLog.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
Wed, Feb 19, 23:41
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Feb 21, 23:41 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24339853
Attached To
rPH Phabricator
PhabricatorConduitMethodCallLog.php
View Options
<?php
final
class
PhabricatorConduitMethodCallLog
extends
PhabricatorConduitDAO
implements
PhabricatorPolicyInterface
{
protected
$callerPHID
;
protected
$connectionID
;
protected
$method
;
protected
$error
;
protected
$duration
;
public
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'id'
=>
'id64'
,
'connectionID'
=>
'id64?'
,
'method'
=>
'text64'
,
'error'
=>
'text255'
,
'duration'
=>
'uint64'
,
'callerPHID'
=>
'phid?'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_date'
=>
array
(
'columns'
=>
array
(
'dateCreated'
),
),
'key_method'
=>
array
(
'columns'
=>
array
(
'method'
),
),
'key_callermethod'
=>
array
(
'columns'
=>
array
(
'callerPHID'
,
'method'
),
),
),
)
+
parent
::
getConfiguration
();
}
/* -( PhabricatorPolicyInterface )----------------------------------------- */
public
function
getCapabilities
()
{
return
array
(
PhabricatorPolicyCapability
::
CAN_VIEW
,
);
}
public
function
getPolicy
(
$capability
)
{
return
PhabricatorPolicies
::
POLICY_USER
;
}
public
function
hasAutomaticCapability
(
$capability
,
PhabricatorUser
$viewer
)
{
return
false
;
}
public
function
describeAutomaticCapability
(
$capability
)
{
return
null
;
}
}
Event Timeline
Log In to Comment