Refactor

maybe i misunderstood you, but the Paginator already allows to activate output walkers via query hint: https://github.com/doctrine/doctrine2/blob/15a00ea80746e1b93a5964807a2a6f63143758d3/lib/Doctrine/ORM/Tools/Pagination/Paginator.php#L232

it's a leaky abstraction, but it's possible.