public function getUrlRange($start, $end)
    {
        return collect(range($start, $end))->mapWithKeys(function ($page) {
            return [$page => $this->url($page)];
        })->all();
    }
public function getUrlRange($start, $end)
    {
        return collect(range($start, $end))->mapWithKeys(function ($page) {
            return [$page => $this->url($page)];
        })->all();
    }
public function getUrlRange ( $ start , $ end ) { return collect ( range ( $ start , $ end ) ) -> mapWithKeys ( function ( $ page ) { return [ $ page => $ this -> url ( $ page ) ] ; } ) -> all ( ) ; }
Create a range of pagination URLs.

@param  int  $start
@param  int  $end
@return array
Create a range of pagination URLs .