Open craigh opened 10 years ago
Interesting indeed! I like it!
Yes, this is very recommended. It also allows to extend/override entity classes with ease, thus MOST-based modules do it similarly utilising a factory class for retrieving new entity instances or corresponding repositories.
https://groups.google.com/d/msg/doctrine-user/ZLttjX1ZTPQ/5GgM8_JDZmwJ
response:
this could maybe be something to try (in any project, I just decided to post it here)