public function getAdjacentUrlRange($onEachSide)
    {
        return $this->paginator->getUrlRange(
            $this->currentPage() - $onEachSide,
            $this->currentPage() + $onEachSide
        );
    }
public function getAdjacentUrlRange($onEachSide)
    {
        return $this->paginator->getUrlRange(
            $this->currentPage() - $onEachSide,
            $this->currentPage() + $onEachSide
        );
    }
public function getAdjacentUrlRange ( $ onEachSide ) { return $ this -> paginator -> getUrlRange ( $ this -> currentPage ( ) - $ onEachSide , $ this -> currentPage ( ) + $ onEachSide ) ; }
Get the page range for the current page window.

@param  int  $onEachSide
@return array
Get the page range for the current page window .