8000 Merge branch '6.2' into 6.3 · symfony/symfony-docs@0cc7b56 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cc7b56

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: clarify that Bundle and AbstractBundle are different
2 parents 7768744 + bead3d7 commit 0cc7b56

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

bundles/configuration.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,19 @@ In your extension, you can load this and dynamically set its arguments::
319319
// ... now use the flat $config array
320320
}
321321

322-
Using the Bundle Class
323-
----------------------
322+
.. _using-the-bundle-class:
323+
324+
Using the AbstractBundle Class
325+
------------------------------
324326

325327
.. versionadded:: 6.1
326328

327329
The ``AbstractBundle`` class was introduced in Symfony 6.1.
328330

329-
Instead of creating an extension and configuration class, you can also
330-
extend :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to
331-
add this logic to the bundle class directly::
331+
As an alternative, instead of creating an extension and configuration class as
332+
shown in the previous section, you can also extend
333+
:class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to add this
334+
logic to the bundle class directly::
332335

333336
// src/AcmeSocialBundle.php
334337
namespace Acme\SocialBundle;

0 commit comments

Comments
 (0)
0