Doctrine 2.2 pagination

http://docs.doctrine-project.org/en/latest/tutorials/pagination.html