Doctrine 2 - ORM

Add parameter indexBy to EntityRepository->createQueryBuilder()