doctrine/doctrine2 — pull request #571 by flo-ITN (2013-02-05 13:18:38+00:00)
Title: Update lib/Doctrine/ORM/EntityRepository.php

Add "indexby" missing parameter that permit an "index by" easily.

Ex :
#Acme\AcmeBundle\Repository
#Before
public function findAllIndexById(){
$qb = $this->_em->createQueryBuilder()
->select('root')
->from('Acme', 'root', 'root.id');
/*...*/
}

#After
public function findAllIndexById(){
$qb = $this->createQueryBuilder('root','root.id');
/*...*/
}