Symfony2 Paginator Bundle

Basically was playing with this code

I did a twig extension aided by these 2 posts:
and perhaps the need for pagination…
The first post is a mess and bad implementation on how someone should work OOP and sf2. But it was at least a guidance into what is bad and how we can be different.

I forked Ideaup version and improved it a little bit.
Comments or improvements are encouraged.