function __construct($url) { parent::__construct($url); $this->curl = curl_init($url); curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($this->curl, CURLOPT_COOKIEFILE, ''); $this->cookies = array(); }
/** * @param string $apiKey */ public function __construct($apiKey) { $this->pricingSessionUrl = self::API_HOST . '/apiservices/pricing/v1.0'; parent::__construct($apiKey); }
/** * @param string $apiKey */ public function __construct($apiKey) { $this->pricingSessionUrl = self::API_HOST . '/apiservices/carhire/liveprices/v2'; parent::__construct($apiKey); }
public function __construct($clientId, $clientSecret, $trackingId) { parent::__construct($clientId, $clientSecret, $trackingId); }