title: Symfony EntityRepository return instance of "Proxies\__CG__ MyModelName"
body: <p>Query </p>
  
  <pre><code>$em-&gt;getRepository($this-&gt;getRepositoryName('AppBundle:User'))-&gt;find($id);
  </code></pre>
  
  <p>return object instance of <code>Proxies\__CG__\AppBundle\Entity\User</code> instead of <code>AppBundle\Entity\User</code>. What the reason of this?</p>