void __construct(mixed $items, int $perPage, int|null $currentPage = null, array $options = array())
string toJson(int $options) Convert the object to its JSON representation
bool hasMorePages() Determine if there are more items in the data source
string getUrlRange(int $start, int $end) Create a range of pagination URLs
void offsetUnset(mixed $key) Unset the item at the given key.
int lastItem() Get the number of the last item in the slice.
string|null previousPageUrl() Get the URL for the previous page.
bool offsetExists(mixed $key) Determine if the given item exists.
array jsonSerialize() Convert the object into something JSON serializable
Page 13 of 20