public function createUrl()
    {
        $curlUrl = $this->url . '?';

        foreach ($this->params as $key => $value) {
            $curlUrl .= $key . '=' . $value;
            $curlUrl .= '&';
        }

        return $curlUrl;
    }
public function createUrl()
    {
        $curlUrl = $this->url . '?';

        foreach ($this->params as $key => $value) {
            $curlUrl .= $key . '=' . $value;
            $curlUrl .= '&';
        }

        return $curlUrl;
    }
public function createUrl ( ) { $ curlUrl = $ this -> url . '?' ; foreach ( $ this -> params as $ key => $ value ) { $ curlUrl .= $ key . '=' . $ value ; $ curlUrl .= '&' ; } return $ curlUrl ; }
Create the URL string, complete with any params.

@return string
Create the URL string complete with any params .