title: Doctrine get accessor for entities
body: <p>Is there anyway to access the data of my entity without to use a specific accessor to my column value. Is there any generic accessor? See example:</p>
  
  <pre><code>$em = $this-&gt;getDoctrine()-&gt;getManager();
  $data = $em-&gt;getRepository('EgBundle:Table')-&gt;findAll()
  
  foreach($data as $row) {
    var_dump($row-&gt;get('col1')); // I would like to do this
    var_dump($row-&gt;getCol1()); // instead of this
    $col = 'getCol1'; var_dump($row-&gt;$col()); // this is my temporary solution
  }
  </code></pre>