static int resolveCurrentPage(string $pageName = 'page', int $default = 1)
int total() Get the total number of items being paginated.
static void currentPathResolver(Closure $resolver)
array getAdjacentUrlRange(int $onEachSide) Get the page range for the current
static void defaultView(string $view) Set the default pagination
Collection getCollection()
int perPage() Get the number of items shown per page.
static Factory viewFactory()
$this setPageName(string $name) Set the query string variable used to store
static void viewFactoryResolver(Closure $resolver)
Page 4 of 20