Why do not use entirely fluent syntax ?

return $this->entityManager->getRepository('IsicsOpenMiamMiamBundle:AssociationHasProducer')
	->getForAssociationQueryBuilder($association)
	->innerjoin('ahp.producer', 'p')
	->addSelect('p')
	->innerJoin('p.branches', 'b')
	->addSelect('b')
	->addOrderBy('p.name', 'ASC')
	->getQuery()
	->getResult();