Fxmlrpc\CallClientInterface::call PHP Method

call() public method

Execute remote call
public call ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
return mixed
    public function call($method, array $arguments = []);

Usage Example

コード例 #1
0
ファイル: Client.php プロジェクト: gravatarphp/xmlrpc-api
 /**
  * Invokes the XML-RPC Client
  *
  * @param string $method
  * @param array  $params
  *
  * @return mixed
  */
 protected function call($method, array $params = [])
 {
     $params['password'] = $this->password;
     try {
         return $this->xmlrpcClient->call('grav.' . $method, $params);
     } catch (ResponseException $e) {
         throw Exception\Fault::create($e->getFaultString(), $e->getFaultCode());
     }
 }
All Usage Examples Of Fxmlrpc\CallClientInterface::call
CallClientInterface