protected function setApiClient() { $apiDomain = "https://{$this->domain}"; $client = new ApiClient(['domain' => $apiDomain, 'basePath' => '/', 'guzzleOptions' => $this->guzzleOptions]); $this->apiClient = $client; }