public function __construct(ClientInterface $httpClient, $hostname, $port, $user, $password) { $this->httpClient = $httpClient; $this->hostname = $hostname; $this->port = $port; $this->user = $user; $this->password = $password; }