So all is in the tittle ^^, in this post I will speak about a way to create your own Doctrine behavior. I really want to share this because it's the first time I create a behavior and I didn't really find any post about it with some complete exemple with code.
Before starting:
Why behavior could be very useful ? I think this well explained in the Doctrine documentation here ^^.
Why I wrote this post ? The Doctrine documentation contains very good explainations about the way of using temaples but I think it's blur about the way you can link a template and a generator in order to generate some classes on the fly.
Tag - behavior
Thursday, November 26 2009
How to create a custom Doctrine behavior
By eNk` on Thursday, November 26 2009, 15:19 - Symfony