server, Server::class); try { $response = $this->getHttpClient()->get( sprintf('/api/servers/%s', $this->server->uuid) ); } catch (TransferException $exception) { throw new DaemonConnectionException($exception); } return json_decode($response->getBody()->__toString(), true); } }