public function __construct() { $this->baseUrl = self::API_URL; $this->client = new Client(['base_uri' => $this->baseUrl]); $this->setGetResponse($this->getRelativeUrl()); }