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

[5.6] Paginators should be built from Contracts #21852

Closed
wants to merge 7 commits into from

Conversation

grashoper20
Copy link

Follow up to #19328, paginators should not only be built of the container, they should use the interface. This is more correct and gives developers more flexibility in their implementation.

doomtickle and others added 7 commits October 26, 2017 20:11
@Dylan-DPC-zz
Copy link

You have broken the tests

@tillkruss tillkruss changed the title Paginators should be built from Contracts [5.5] Paginators should be built from Contracts Oct 28, 2017
@tillkruss tillkruss changed the title [5.5] Paginators should be built from Contracts [5.6] Paginators should be built from Contracts Oct 28, 2017
@tillkruss tillkruss changed the base branch from 5.5 to master October 28, 2017 15:59
@tillkruss
Copy link
Contributor

I've changed the branch to 5.6. You need to rebase and fix the tests.

@taylorotwell
Copy link
Member

There are other commits in the PR.

@paulofreitas
Copy link
Contributor

@grashoper20 Try resubmitting this to the master branch instead. Don't forget to fix the tests, you should probably change Illuminate\Pagination\PaginationServiceProvider to resolve these contracts within container. 👍

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.

9 participants