public function __construct(HttpClient $client, $apiKey, $useSSL = true) { parent::__construct($client); $this->apiKey = $apiKey; $this->scheme = $useSSL ? 'https' : 'http'; }