public function removeParams(array $removeParams)
    {
        $parts = $this->split($this->url);

        parse_str($parts['query'], $params);
        $params = array_diff_key($params, array_flip($removeParams));
        $parts['query'] = http_build_query($params);

        return $this->join($parts);
    }
public function removeParams(array $removeParams)
    {
        $parts = $this->split($this->url);

        parse_str($parts['query'], $params);
        $params = array_diff_key($params, array_flip($removeParams));
        $parts['query'] = http_build_query($params);

        return $this->join($parts);
    }
public function removeParams ( array $ removeParams ) { $ parts = $ this -> split ( $ this -> url ) ; parse_str ( $ parts [ 'query' ] , $ params ) ; $ params = array_diff_key ( $ params , array_flip ( $ removeParams ) ) ; $ parts [ 'query' ] = http_build_query ( $ params ) ; return $ this -> join ( $ parts ) ; }
Removes query parameters from url.
@param array $removeParams [name => value] parameters to add
@return string result url
Removes query parameters from url .