I need values from 2 different entities. I don\'t know how to do. I tried this so far:
You can access the EntityManager by calling Doctrine\ORM\EntityRepository#getEntityManager():
EntityManager
$repository = $this ->getEntityManager() ->getRepository('PondGeolocBundle:User_Lake');