mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[Question] Is this kind of inheritance possible? #5434
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @valepu on GitHub (Feb 27, 2017).
Originally assigned to: @Ocramius on GitHub.
I'm not sure how to call it, but i have a situation where rows in one table provide default values for rows into another table which can override them.
I have asked this on Stackoverflow but got no answer: http://stackoverflow.com/questions/42432689/extend-doctrine-2-model-with-new-values-for-fields
So, i was wondering if this kind of behavior is natively supported by Doctrine (or some extension) using some kind of inheritance or i just have to manually implement it in my model
@Ocramius commented on GitHub (Feb 27, 2017):
Not supported: you will most probably need a
prePersistorpreUpdatelistener to do that manually.Closing as
wontfix