title: Symfony2 + Doctrine : Tool for generating relations between entities
body: <p>when I want to create a new entity I use the following command : </p>
  
  <blockquote>
    <p>php app/console doctrine:generate entity</p>
  </blockquote>
  
  <p>But this will help me only to generate attributes with their setters and getters</p>
  
  <p>Is there a way that helps me to generate also relations between entities ( OneToMany , and ManyToOne for example ) ?</p>