LengthAwarePaginator::hasMorePages()
  • References/PHP/Laravel/Contracts/Pagination

bool hasMorePages() Determine if there is more items in the data store

2025-01-10 15:47:30
Paginator::perPage()
  • References/PHP/Laravel/Contracts/Pagination

int perPage() Determine how many items are being shown per page.

2025-01-10 15:47:30
LengthAwarePaginator::fragment()
  • References/PHP/Laravel/Contracts/Pagination

$this|string fragment(string|null $fragment = null) Get / set the URL fragment

2025-01-10 15:47:30
Paginator::currentPage()
  • References/PHP/Laravel/Contracts/Pagination

int currentPage() Determine the current page being paginated.

2025-01-10 15:47:30
LengthAwarePaginator::perPage()
  • References/PHP/Laravel/Contracts/Pagination

int perPage() Determine how many items are being shown per page.

2025-01-10 15:47:30
Paginator::previousPageUrl()
  • References/PHP/Laravel/Contracts/Pagination

string|null previousPageUrl() Get the URL for the previous page, or null

2025-01-10 15:47:30
LengthAwarePaginator::currentPage()
  • References/PHP/Laravel/Contracts/Pagination

int currentPage() Determine the current page being paginated.

2025-01-10 15:47:30
LengthAwarePaginator::firstItem()
  • References/PHP/Laravel/Contracts/Pagination

int firstItem() Get the "index" of the first item being paginated.

2025-01-10 15:47:30
Paginator::nextPageUrl()
  • References/PHP/Laravel/Contracts/Pagination

string|null nextPageUrl() The URL for the next page, or null.

2025-01-10 15:47:30
LengthAwarePaginator::isEmpty()
  • References/PHP/Laravel/Contracts/Pagination

bool isEmpty() Determine if the list of items is empty or not.

2025-01-10 15:47:30