src/Url.php
public function removeQueryParams(array $queryParams)
    {
        if (empty($this->data['query'])) {
            return $this;
        }

        $this->data['query'] = array_diff_key(
            $this->data['query'],
            array_flip($queryParams)
        );

        return $this;
    }
public function removeQueryParams(array $queryParams)
    {
        if (empty($this->data['query'])) {
            return $this;
        }

        $this->data['query'] = array_diff_key(
            $this->data['query'],
            array_flip($queryParams)
        );

        return $this;
    }
public function removeQueryParams ( array $ queryParams ) { if ( empty ( $ this -> data [ 'query' ] ) ) { return $ this ; } $ this -> data [ 'query' ] = array_diff_key ( $ this -> data [ 'query' ] , array_flip ( $ queryParams ) ) ; return $ this ; }
Removes a query params.
@param array $queryParams arguments
@return $this
Removes a query params .