title: SQL doctrine query that has as many results as values ​passed in parameters
body: <p>Assume that I give to a function an array :</p>
  
  <pre><code>$arrValues = ['19', '4', '4', '18', '19']
  </code></pre>
  
  <p>To a function :</p>
  
  <pre><code>$objRequeteDoctrine = $this-&gt;getEntityManager()-&gt;createQueryBuilder()
      -&gt;select('o')
      -&gt;from('xxxxxx', 'o')
      -&gt;where('o.id IN (:values)')
      -&gt;andwhere('o.actif = 1')
      -&gt;setParameter(':values', $arrValues );
  
  return $objRequeteDoctrine-&gt;getQuery()-&gt;getResult();
  </code></pre>
  
  <p>Here, it'll retrieve 3 objects(duplicates removed). But what if I want to retrieve 5 objects, with duplicates ? Is that possible ?</p>
  
  <p>Thanks.</p>