title: Symfony2 FOS extend base user from yaml
body: <p>I always use yaml when generating entities.
  When installing FOSUserBundle, after generating User entity, I also had to edit my Bundle\Entity\User.php for extending User from FOSUser.
  So, is there any way to extend base entity from yaml?</p>
  
  <p>Thanks a lot for any help!</p>