2011-01-24 09:00:29 -08:00
|
|
|
<?php
|
|
|
|
|
2011-07-04 12:03:36 -07:00
|
|
|
/**
|
|
|
|
* @group conduit
|
|
|
|
*/
|
2013-07-01 12:37:34 -07:00
|
|
|
final class PhabricatorConduitMethodCallLog extends PhabricatorConduitDAO
|
|
|
|
implements PhabricatorPolicyInterface {
|
2011-01-24 09:00:29 -08:00
|
|
|
|
2013-07-01 12:37:34 -07:00
|
|
|
protected $callerPHID;
|
2011-01-24 09:00:29 -08:00
|
|
|
protected $connectionID;
|
|
|
|
protected $method;
|
|
|
|
protected $error;
|
|
|
|
protected $duration;
|
|
|
|
|
2013-07-01 12:37:34 -07:00
|
|
|
|
|
|
|
/* -( 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;
|
|
|
|
}
|
|
|
|
|
2013-09-27 08:43:41 -07:00
|
|
|
public function describeAutomaticCapability($capability) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-01-24 09:00:29 -08:00
|
|
|
}
|