title: Doctrine querybuilder result
body: <p>I am developing an application using Symfony2 and Doctrine2. I also use Doctrine's QueryBuilder. I have this query:</p>
  
  <pre><code>public function getInterpDesberdinak($MarkId)
      {
            $qb = $this-&gt;createQueryBuilder('c')
                -&gt;select('DISTINCT c.Gordailua, c')
                -&gt;where('c.MarkIdGordailua = :MarkId')
                -&gt;setParameter('MarkId', $MarkId);
            $Emaitza = $qb-&gt;getQuery()-&gt;getResult();
            return $Emaitza;
      }       
  </code></pre>
  
  <p>I would like to how the result would I get in $Emaitza would look. Would it be something like:</p>
  
  <p>$Emaitza[0]['Gordailua'] = the first Gordailua value selected. </p>
  
  <p>and then $Emaitza[0][?????] = The first c type object.</p>
  
  <p>I am kind of confused.Thanks.</p>