Skip to content

Commit 194ed52

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: bundles - add reason why they are not recommended
2 parents 12e77b5 + 32c2a67 commit 194ed52

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

best_practices.rst

+2
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ values is that it's complicated to redefine their values in your tests.
160160
Business Logic
161161
--------------
162162

163+
.. _best-practice-no-application-bundles:
164+
163165
Don't Create any Bundle to Organize your Application Logic
164166
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165167

bundles.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Bundle System
66
.. caution::
77

88
In Symfony versions prior to 4.0, it was recommended to organize your own
9-
application code using bundles. This is no longer recommended and bundles
9+
application code using bundles. This is :ref:`no longer recommended <best-practice-no-application-bundles>` and bundles
1010
should only be used to share code and features between multiple applications.
1111

1212
A bundle is similar to a plugin in other software, but even better. The core

0 commit comments

Comments
 (0)