public function __construct() { $this->baseUri = new Uri(); $this->header = new Header(); }
public function __construct() { if (!self::isAvailable()) { throw new ProviderException('CURL extension is not loaded'); } $this->handle = curl_init(); $this->initOptions(); parent::__construct(); }