Use doctrine Paginator if available