protected function addQuery($key, $value)
    {
        if ($key !== $this->pageName) {
            $this->query[$key] = $value;
        }

        return $this;
    }
protected function addQuery($key, $value)
    {
        if ($key !== $this->pageName) {
            $this->query[$key] = $value;
        }

        return $this;
    }
protected function addQuery ( $ key , $ value ) { if ( $ key !== $ this -> pageName ) { $ this -> query [ $ key ] = $ value ; } return $ this ; }
Add a query string value to the paginator.

@param  string  $key
@param  string  $value
@return $this
Add a query string value to the paginator .