protected function getFullSlider($onEachSide)
    {
        $currentPage = $this->currentPage();

        $slider = $this->getUrlRange(
            $currentPage - $onEachSide,
            $currentPage + $onEachSide
        );

        $lastPage = $this->lastPage();

        return array(
            'first'  => $this->getUrlRange(1, 2),
            'slider' => $slider,
            'last'   => $this->getUrlRange($lastPage - 1, $lastPage),
        );
    }
protected function getFullSlider($onEachSide)
    {
        $currentPage = $this->currentPage();

        $slider = $this->getUrlRange(
            $currentPage - $onEachSide,
            $currentPage + $onEachSide
        );

        $lastPage = $this->lastPage();

        return array(
            'first'  => $this->getUrlRange(1, 2),
            'slider' => $slider,
            'last'   => $this->getUrlRange($lastPage - 1, $lastPage),
        );
    }
protected function getFullSlider ( $ onEachSide ) { $ currentPage = $ this -> currentPage ( ) ; $ slider = $ this -> getUrlRange ( $ currentPage - $ onEachSide , $ currentPage + $ onEachSide ) ; $ lastPage = $ this -> lastPage ( ) ; return array ( 'first' => $ this -> getUrlRange ( 1 , 2 ) , 'slider' => $ slider , 'last' => $ this -> getUrlRange ( $ lastPage - 1 , $ lastPage ) , ) ; }
Get the slider of URLs when a full slider can be made.

@param  int  $onEachSide
@return array
Get the slider of URLs when a full slider can be made .