Ejemplo n.º 1
0
 /**
  * Prepare the client for a request.
  *
  * @return \GuzzleHttp\ClientInterface
  */
 public function prepare()
 {
     // If the dc is not know, do a request.
     if (is_null($this->dc)) {
         $this->setDc($this->getDatacenter());
     }
     // Let the parent method do it's job.
     return parent::prepare();
 }