title: How to do a LEFT JOIN ON OR in Doctrine
body: <p>I'm using Doctrine's querybuilder in Symfony2 to create a query to fetch entities.</p>
  
  <p>I'm trying to get this result in MySQL :</p>
  
  <pre><code>SELECT u0_.id AS id0
  FROM user u0_ 
  LEFT JOIN rva_victims r3_ ON u0_.id = r3_.user_id 
  INNER JOIN rva r1_ ON r1_.id = r3_.rva_id or u0_.id = r1_.declarant_id
  </code></pre>
  
  <p>I've tried both ON and WITH conditionType in $qb->join(), but nothing work.</p>
  
  <p>Any ideas to solve my problem?</p>