File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -167,10 +167,16 @@ Doctrine Entities/Documents
167
167
168
168
If the bundle includes Doctrine ORM entities and/or ODM documents, it's
169
169
recommended to define their mapping using XML files stored in
170
- ``Resources/ config/doctrine/ ``. This allows to override that mapping using the
170
+ ``config/doctrine/ ``. This allows to override that mapping using the
171
171
:doc: `standard Symfony mechanism to override bundle parts </bundles/override >`.
172
172
This is not possible when using annotations/attributes to define the mapping.
173
173
174
+ .. caution ::
175
+
176
+ The recommended bundle structure was changed in Symfony 5, read the
177
+ `Symfony 4.4 bundle documentation `_ for information about the old
178
+ structure.
179
+
174
180
Tests
175
181
-----
176
182
@@ -560,3 +566,4 @@ Learn more
560
566
.. _`valid license identifier` : https://spdx.org/licenses/
561
567
.. _`GitHub Actions` : https://docs.github.com/en/free-pro-team@latest/actions
562
568
.. _`Travis CI` : https://docs.travis-ci.com/
569
+ .. _`Symfony 4.4 bundle documentation` : https://symfony.com/doc/4.4/bundles.html#bundle-directory-structure
You can’t perform that action at this time.
0 commit comments