src/PaginateRoute.php
public function nextPageUrl(Paginator $paginator)
    {
        $nextPage = $this->nextPage($paginator);

        if ($nextPage === null) {
            return;
        }

        return $this->pageUrl($nextPage);
    }
public function nextPageUrl(Paginator $paginator)
    {
        $nextPage = $this->nextPage($paginator);

        if ($nextPage === null) {
            return;
        }

        return $this->pageUrl($nextPage);
    }
public function nextPageUrl ( Paginator $ paginator ) { $ nextPage = $ this -> nextPage ( $ paginator ) ; if ( $ nextPage === null ) { return ; } return $ this -> pageUrl ( $ nextPage ) ; }
Get the next page URL.

@param \Illuminate\Contracts\Pagination\Paginator $paginator

@return string|null
Get the next page URL .