protected function prepareGetParams()
    {
        $parsedUrl = parse_url($this->options[CURLOPT_URL]);
        $query = http_build_query($this->requestParams);

        if (isset($parsedUrl['query'])) {
            $parsedUrl['query'] .= '&'.$query;
        } else {
            $parsedUrl['query'] = $query;
        }

        $this->setUrl($this->buildUrl($parsedUrl));
    }
protected function prepareGetParams()
    {
        $parsedUrl = parse_url($this->options[CURLOPT_URL]);
        $query = http_build_query($this->requestParams);

        if (isset($parsedUrl['query'])) {
            $parsedUrl['query'] .= '&'.$query;
        } else {
            $parsedUrl['query'] = $query;
        }

        $this->setUrl($this->buildUrl($parsedUrl));
    }
protected function prepareGetParams ( ) { $ parsedUrl = parse_url ( $ this -> options [ CURLOPT_URL ] ) ; $ query = http_build_query ( $ this -> requestParams ) ; if ( isset ( $ parsedUrl [ 'query' ] ) ) { $ parsedUrl [ 'query' ] .= '&' . $ query ; } else { $ parsedUrl [ 'query' ] = $ query ; } $ this -> setUrl ( $ this -> buildUrl ( $ parsedUrl ) ) ; }
Converts request parameters to the query string and adds it to the request url
Converts request parameters to the query string and adds it to the request url