title: Doctrine 2 DQL: Cannot reuse named parameter?
body: <p>I find that I cannot do something like below, notice '<code>:user</code>' is used twice</p>
  
  <pre><code>$query = $em-&gt;createQuery('select p from Application\Models\Project p
                             WHERE  p.owner = :user
                             OR :user MEMBER OF p.collaborators');
  $query-&gt;setParameter('user', $user);
  </code></pre>
  
  <p>I get the error "<code>array_combine(): Both parameters should have an equal number of elements</code>"</p>
  
  <p>I can fix the problem by doing something like below instead</p>
  
  <pre><code>$query = $em-&gt;createQuery('select p from Application\Models\Project p
                             WHERE  p.owner = :user
                             OR :user1 MEMBER OF p.collaborators');
  </code></pre>