src/Utils/PaginationSetup.php
public function path($disable, $page)
    {
        if ($disable) {
            return '#';
        }

        return Route::instance()->build(
            $this->getRoute(),
            $this->getRouteParams(),
            [$this->pageArgName => $page] + ($_GET?:[])
        );
    }
public function path($disable, $page)
    {
        if ($disable) {
            return '#';
        }

        return Route::instance()->build(
            $this->getRoute(),
            $this->getRouteParams(),
            [$this->pageArgName => $page] + ($_GET?:[])
        );
    }
public function path ( $ disable , $ page ) { if ( $ disable ) { return '#' ; } return Route :: instance ( ) -> build ( $ this -> getRoute ( ) , $ this -> getRouteParams ( ) , [ $ this -> pageArgName => $ page ] + ( $ _GET ? : [ ] ) ) ; }
Build pagination route
@param  bool $disable
@param  int $page
@return string
Build pagination route