Skip to content

Commit 2e1efb9

Browse files
authored
Update Paginator / LengthAwarePaginator Instance Methods Table (#10317)
* Update pagination.md `onLastPage()` is available to the `LengthAwarePaginator` as well, via the `AbstractPaginator` class. * Update pagination.md
1 parent 3d9881a commit 2e1efb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pagination.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ Each paginator instance provides additional pagination information via the follo
376376
| `$paginator->lastPage()` | Get the page number of the last available page. (Not available when using `simplePaginate`). |
377377
| `$paginator->nextPageUrl()` | Get the URL for the next page. |
378378
| `$paginator->onFirstPage()` | Determine if the paginator is on the first page. |
379+
| `$paginator->onLastPage()` | Determine if the paginator is on the last page. |
379380
| `$paginator->perPage()` | The number of items to be shown per page. |
380381
| `$paginator->previousPageUrl()` | Get the URL for the previous page. |
381382
| `$paginator->total()` | Determine the total number of matching items in the data store. (Not available when using `simplePaginate`). |

0 commit comments

Comments
 (0)