How to properly inherit an entity from another entity? I have an AbstractPerson abstract entity in which there are certain properties, a Person entity (an empty object with no properties) that inherits AbstractPerson . We populate Person and end up with a Person object with the filled AbstractPerson properties in the debugger like this:
AppBundle\Entity\Person(переменная $owner) -> *AbstractPerson*id=null -> *AbstractPerson*type='my_type' When the AbstractPerson object was just an entity ( not abstract ), then the object was null (even when the type property is filled)
AppBundle\Entity\AbstractPerson(переменная $owner) -> null What could be the problem?