Ejemplo n.º 1
0
 function __construct($s = '')
 {
     if (!extension_loaded('xmlrpc')) {
         throw new \Exception('php5-xmlrpc not found');
     }
     parent::__construct($s);
 }
Ejemplo n.º 2
0
 public function __construct($ip, $port, $rpc_key, $timeout = 5)
 {
     $this->ip = $ip;
     $this->port = $port;
     $this->rpc_key = $rpc_key;
     $this->timeout = $timeout;
     parent::__construct();
 }
Ejemplo n.º 3
0
 /**
  * @param Response $response
  * @param CurlAdapter $curlAdapter
  */
 public function __construct(Response $response, CurlAdapter $curlAdapter)
 {
     parent::__construct($response);
     $this->curlAdapter = $curlAdapter;
 }
Ejemplo n.º 4
0
 public function __construct($token = null)
 {
     $this->authorizer_access_token = $token instanceof AccessToken ? $token->getToken() : $token;
     parent::__construct();
 }
 public function __construct($token = null)
 {
     $this->component_access_token = $token instanceof ComponentAccessToken ? $token->getToken() : $token;
     parent::__construct();
 }