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

Add DoctrinePaginatorAdapter to interface with Doctrine pagination #362

Merged
merged 2 commits into from
Mar 12, 2017

Conversation

Farrser
Copy link

@Farrser Farrser commented Feb 10, 2017

No description provided.

* @param callable $routeGenerator
*
*/
public function __construct(Paginator $paginator, $routeGenerator)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type hint callable here?

*
* @return callable
*/
public function getRouteGenerator()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a need to get this outside of this class?

Copy link
Contributor

@greydnls greydnls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, a few changes requested

@Farrser
Copy link
Author

Farrser commented Feb 22, 2017

All fair points, agreed.

Unfortunately it is required to bring in the 'doctrine/orm' package to allow the tests to run but it is only require-dev.

EDIT: Ah looks like you removed the comment regarding the 'doctrine/orm' package. I seen it in email and didn't cross reference to here

@greydnls
Copy link
Contributor

Yeah, I commented before realizing it was require-dev. You're all good! Thank you!

@greydnls greydnls merged commit d044530 into thephpleague:master Mar 12, 2017
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.

2 participants