Skip to content
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

[8.x] Make pagination linkCollection() method public #36959

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

reinink
Copy link
Contributor

@reinink reinink commented Apr 12, 2021

This PR makes the LengthAwarePaginator::linkCollection() method public. I have a use-case in an Inertia app where I don't want to include all the data from toArray(), and would like to cherry pick the link collection. 👍

This is a non-breaking change.

@reinink reinink changed the title Make pagination linkCollection() method public [8.x] Make pagination linkCollection() method public Apr 12, 2021
@driesvints
Copy link
Member

driesvints commented Apr 13, 2021

Unfortunately this is a breaking change: https://3v4l.org/8rYsn

Widening Tightening a visibility isn't: https://3v4l.org/oPHbv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants