I got a problem with doctrine orm using annotation driver releated to the lifecyclecallback. I got 2 classes:
- abstract Model (marked as MappedSuperclass, haslifecyclecallbacks)
- User (extending Model, marked as entity)
the prePresist method isn't called if i save an instance of user to the database. If i move the method to the User class everything works fine.
Can you give me a hint how to get the inheritance to work like expected? (i try to set an uuid instead of an id for all classes extending the Model class)
You can watch it at this gist