PaginationServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

PaginationServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

PaginationServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

PaginationServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

PaginationServiceProvider::provides()

array provides() Get the services provided by the provider. Return Value array

PaginationServiceProvider::register()

void register() Register the service provider. Return Value void

PaginationServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array

PaginationServiceProvider::__construct()

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

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()

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