[Closed] Export to YAML does not contains the inheritance property

0 votes
asked Jul 7, 2017 in Solved by ardus (140 points)
recategorized Jul 7, 2017 by ludek.vodicka

When I create an mapped-superclass inheritance between 2 entities and do a yaml doctrine2 export the extends property is not set in the derived table

1 Answer

0 votes
answered Jul 7, 2017 by ludek.vodicka Skipper developer (140,450 points)

This is correct behaviour. Mapped superclass is php-class only inheritance which can't be described by YML/XML format.

Please check Doctrine2 documentation for more information: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html

...