I want to fetch some data from doctrine ---
Example --- from (MyBundle:MyEntityOne) --- by $id need to find name, where name is connected to another entiry named "MyEntityTwo".
than from (MyBundle:MyEntityTwo) --- I need to find the $item based on the name we got from "MyEntityOne".
Can anyone have an idea how to write the query for it.