New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Ensure the original paginator options are stored. #27273

merged 2 commits into from Jan 23, 2019


None yet
2 participants
Copy link

lucasmichot commented Jan 22, 2019

In some situations, it is useful to have access to the original options passed to a paginator.
Eg. when you want to create an instance of your own custom paginator implementation from an instance of \Illuminate\Pagination\AbstractPaginator.

This PR provides this feature.

@taylorotwell taylorotwell merged commit b6a3254 into laravel:5.7 Jan 23, 2019

2 checks passed

continuous-integration/styleci/pr The analysis has passed
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment