public function getZone($zoneDomain = null) { try { $response = $this->httpClient->get("domains/{$zoneDomain}"); if ($response->getStatusCode() == 200) { return $this->toZone(json_decode($response->getBody(), true)); } } catch (\Exception $e) { } }