Exemplo n.º 1
0
 public function getClient()
 {
     $client = new Client(['http_errors' => false]);
     if ($this->token instanceof Token) {
         $client->setApiToken($this->token->getId());
     }
     return $client;
 }