Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit193901a

Browse files
committed
Documented 'Entities & Entity mapping' section
1 parentd75d7f4 commit193901a

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)

[8]ページ先頭

©2009-2025 Movatter.jp