public function getURLWithParams()
    {
        return ($this->params ? sprintf('%s?%s', $this->url, http_build_query($this->params)) : $this->url);
    }
public function getURLWithParams()
    {
        return ($this->params ? sprintf('%s?%s', $this->url, http_build_query($this->params)) : $this->url);
    }
public function getURLWithParams ( ) { return ( $ this -> params ? sprintf ( '%s?%s' , $ this -> url , http_build_query ( $ this -> params ) ) : $ this -> url ) ; }
Answers the defined URL with parameters included.

@return string
Answers the defined URL with parameters included .