Open
Description
In 0.8.0 release there was a note:
- Detect EntityRepository::find/findOneBy/findAll/findBy result type
At the moment doctrine2 support behaves like this:
$repo = $this->getDoctrine()->getRepository('Namespace:Entity');
$entity = $repo->findOneByProperty('value'); // $entity does not resolve as an Entity
$entity = $repo->findOneBy(array('property' => 'value')) // $entity does resolve as an Entity and autocomplete works
Could you please implement resolving of magic methods like findOneBy* and findBy*?