title: Get array/list of entities from Doctrine
body: <p>This is probably pretty simple, but I can't find a way to do this.</p>
  
  <p>Is there any way to get a list of class names of the entities that Doctrine manages?  Something like:</p>
  
  <pre><code>$entities = $doctrine-&gt;em-&gt;getEntities();
  </code></pre>
  
  <p>where <code>$entities</code> is an array with something like <code>array('User', 'Address', 'PhoneNumber')</code> etc...</p>