mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Generate entities does not extends from base class #5601
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 @smartwaresolutions on GitHub (Jul 7, 2017).
Originally assigned to: @Ocramius on GitHub.
I have 2 xml files with entity definitions: one (base) is a mapped-superclass and the other (User) extends from this class. After Generate-entities the User class does not extends the base class. Both PHP files are created.
XML files:
@Ocramius commented on GitHub (Jul 7, 2017):
Inheritance is generally not supported by the entity generator.
Closing as
won't fix