protected function getClient() { if (!$this->client) { $this->client = new Client(['base_uri' => self::$BASE_URL, RequestOptions::VERIFY => self::$VERIFY_SSL, RequestOptions::TIMEOUT => $this->timeout]); } return $this->client; }