src/Request.php
private function getBasicCurlOptions() {
        $curlOptions = $this->getOption(self::CURL_OPTIONS_KEY, array());
        $curlOptions[CURLOPT_HEADER] = true;
        $curlOptions[CURLOPT_RETURNTRANSFER] = true;
        $curlOptions[CURLOPT_USERAGENT] = $this->getOption(self::USER_AGENT_KEY);
        $curlOptions[CURLOPT_URL] = $this->getOption(self::BASE_URL_KEY);
        return $curlOptions;
    }
private function getBasicCurlOptions() {
        $curlOptions = $this->getOption(self::CURL_OPTIONS_KEY, array());
        $curlOptions[CURLOPT_HEADER] = true;
        $curlOptions[CURLOPT_RETURNTRANSFER] = true;
        $curlOptions[CURLOPT_USERAGENT] = $this->getOption(self::USER_AGENT_KEY);
        $curlOptions[CURLOPT_URL] = $this->getOption(self::BASE_URL_KEY);
        return $curlOptions;
    }
private function getBasicCurlOptions ( ) { $ curlOptions = $ this -> getOption ( self :: CURL_OPTIONS_KEY , array ( ) ) ; $ curlOptions [ CURLOPT_HEADER ] = true ; $ curlOptions [ CURLOPT_RETURNTRANSFER ] = true ; $ curlOptions [ CURLOPT_USERAGENT ] = $ this -> getOption ( self :: USER_AGENT_KEY ) ; $ curlOptions [ CURLOPT_URL ] = $ this -> getOption ( self :: BASE_URL_KEY ) ; return $ curlOptions ; }
Create basic curl options

@return array Curl options
Create basic curl options