public function __construct($apiKey, $apiUrl = null) { $this->apiKey = $apiKey; if ($apiUrl) { $this->apiUrl = $apiUrl; } $this->client = new MultiCurl(); $this->client->setVerifyPeer(false); $this->browser = new Browser($this->client); }