Skip to content

Commit 1a031bd

Browse files
[10.x] Update pagination.md - Document through method (laravel#8883)
* [10.x] Update pagination.md - Document `through` method * [10.x] Update pagination.md - fix: add `through` $callback paramater * Update pagination.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 0dd85c8 commit 1a031bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: pagination.md

+1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ Method | Description
352352
`$paginator->url($page)` | Get the URL for a given page number.
353353
`$paginator->getPageName()` | Get the query string variable used to store the page.
354354
`$paginator->setPageName($name)` | Set the query string variable used to store the page.
355+
`$paginator->through($callback)` | Transform each item using a callback.
355356

356357
<a name="cursor-paginator-instance-methods"></a>
357358
## Cursor Paginator Instance Methods

0 commit comments

Comments
 (0)