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