public function __construct($uri, Client $httpClient, ConfigInterface $config) { $this->uri = $uri; $this->httpClient = $httpClient; $this->responseFormatter = new ResponseFormatter(); $this->config = $config; }