Skip to content

Commit

Permalink
Merge pull request #4945 from ahinkle/add-get-options
Browse files Browse the repository at this point in the history
[5.7] Add getOptions Method
  • Loading branch information
taylorotwell authored Jan 31, 2019
2 parents a14fd4e + a1b758e commit 1c46684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Method | Description
`$results->count()` | Get the number of items for the current page.
`$results->currentPage()` | Get the current page number.
`$results->firstItem()` | Get the result number of the first item in the results.
`$results->getOptions()` | Get the paginator options.
`$results->getUrlRange($start, $end)` | Create a range of pagination URLs.
`$results->hasMorePages()` | Determine if there are enough items to split into multiple pages.
`$results->lastItem()` | Get the result number of the last item in the results.
Expand Down

0 comments on commit 1c46684

Please sign in to comment.