Jira issue originally created by user @beberlei:
We should add pagination tools to the Doctrine\ORM\Tools\Pagination namespace. There are already 3 libraries out there that share the same code-base:
We should merge the currently best one of this into the code soon, as the cost of maintaining them is very high and their code is pretty stable by now.
Comment created by @beberlei:
Implemented, using the KNP Code, the PAgerfanta tests and putting a set of functional tests on top.
Merged back into 2.2 aswell as the code can be considered stable and does not affect any other area of the code.
Issue was closed with resolution "Fixed"