namespace \; use Knp\Component\Pager\PaginatorInterface; use Lc\SovBundle\Repository\AbstractRepositoryQuery; class extends AbstractRepositoryQuery implements Interface { public function __construct( $repository, PaginatorInterface $paginator) { parent::__construct($repository, 'r', $paginator); } }