Paginator::count()

int count() Get the number of items for the current page. Return Value int

Paginator::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

Paginator::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

Paginator::appends()

$this appends(array|string $key, string|null $value = null) Add a set of query string values to the paginator. Parameters array|string $key string|null $value Return Value $this

Paginator::appends()

$this appends(array|string $key, string|null $value = null) Add a set of query string values to the paginator. Parameters array|string $key string|null $value Return Value $this

Paginator::addQuery()

$this addQuery(string $key, string $value) Add a query string value to the paginator. Parameters string $key string $value Return Value $this

Paginator

Paginator class Paginator extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the

Paginator

Paginator class Paginator extends AbstractPaginator implements Arrayable, ArrayAccess, Countable, IteratorAggregate, JsonSerializable, Jsonable, Paginator (View source) Properties static string $defaultView The default pagination view. from AbstractPaginator static string $defaultSimpleView The default "simple" pagination view. from AbstractPaginator

Paginator

Paginator interface Paginator (View source) Methods string url(int $page) Get the URL for a given page. $this appends(array|string $key, string|null $value = null) Add a set of query string values to the paginator. $this|string fragment(string|null $fragment = null) Get / set the URL fragment to be appended to URLs. string|null nextPageUrl() The URL for the next page, or null. string|null previousPageUrl() Get the URL for the previous page, or null. array items()

PaginationServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void