Page MenuHomePhabricator

final class ConduitCall
Phabricator Technical Documentation (Conduit)

Run a conduit method in-process, without requiring HTTP requests. Usage:

$call = new ConduitCall('method.name', array('param' => 'value'));
$call->setUser($user);
$result = $call->execute();

Methods

public function __construct($method, $params, $strictly_typed)

This method is not documented.
Parameters
$method
array$params
$strictly_typed
Return
this//Implicit.//

public function getAPIRequest()

This method is not documented.
Return
wild

public function setUser($user)

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

public function getUser()

This method is not documented.
Return
wild

public function shouldRequireAuthentication()

This method is not documented.
Return
wild

public function shouldAllowUnguardedWrites()

This method is not documented.
Return
wild

public function getErrorDescription($code)

This method is not documented.
Parameters
$code
Return
wild

public function execute()

This method is not documented.
Return
wild

private function executeMethod()

This method is not documented.
Return
wild

protected function buildMethodHandler($method_name)

This method is not documented.
Parameters
$method_name
Return
wild

public function getMethodImplementation()

This method is not documented.
Return
wild