Skip to content

Commit 193901a

Browse files
committed
Documented 'Entities & Entity mapping' section
1 parent d75d7f4 commit 193901a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cookbook/bundles/override.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ like adding a method call - you can only use the compiler pass method.
9494
Entities & Entity mapping
9595
-------------------------
9696

97-
In progress...
97+
Due to the way Doctrine works, it is not possible to override entity mapping
98+
of a bundle. However, if a bundle provides a mapped superclass (such as the
99+
``User`` entity in the FOSUserBundle) one can override attributes and
100+
associations. Learn more about this feature and its limitations in
101+
`the Doctrine documentation`_.
98102

99103
Forms
100104
-----
@@ -120,3 +124,5 @@ Translations
120124
------------
121125

122126
In progress...
127+
128+
.. _`the Doctrine documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html#overrides

0 commit comments

Comments
 (0)