Knp Paginator must be independent from Symfony. revert from my previous de development.