LengthAwarePaginator
interface LengthAwarePaginator implements Paginator (View source)
Methods
$this
appends(array|string|null $key, string|null $value = null)
Add a set of query string values to the paginator.
from
Paginator
$this|string|null
fragment(string|null $fragment = null)
Get / set the URL fragment to be appended to URLs.
from
Paginator
string
render(string|null $view = null, array $data = [])
Render the paginator using a given view.
from
Paginator
array
getUrlRange(int $start, int $end)
Create a range of pagination URLs.
int
total()
Determine the total number of items in the data store.
int
lastPage()
Get the page number of the last available page.
Details
$this
appends(array|string|null $key, string|null $value = null)
Add a set of query string values to the paginator.
$this|string|null
fragment(string|null $fragment = null)
Get / set the URL fragment to be appended to URLs.