Exemple #1
0
 public function __construct(LoopInterface $loop, Emitter $emitter, ClientInterface $httpClient = null)
 {
     $this->emitter = $emitter;
     parent::__construct($loop, $httpClient);
 }
 public function __construct(LoopInterface $loop, $token, ClientInterface $httpClient = null)
 {
     parent::__construct($loop, $httpClient);
     $this->setToken($token);
 }