title: CakePHP model behaviors in Symfony2 + Doctrine2?
body: <p>Is it possible to have behaviors in Symfony 2 entities, like in CakePHP? I'll try to explain what I need:</p>
  
  <p>In some of my entities, I need to store who created or updated the record, when it was created or updated, at which company does it belongs and at which season does it belongs.</p>
  
  <p>All these data is stored in the session, and I want to add it to the entity "magically", without adding these fields in the controller. With CakePHP I can create SeasonBehavior, mark some models/entities as they use the SeasonBehavior and when I persist a record from an entity marked with the SeasonBehavior the seasonId is updated. </p>
  
  <p>Is it possible to do the same with Symfony2 and Doctrine 2? And if it's possible, do you know any tutorial or documentation explaining how to do this?</p>