Skip to content

Commit bead3d7

Browse files
committed
Tweaks
1 parent 006821b commit bead3d7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

bundles/configuration.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,20 +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+
322324
Using the AbstractBundle Class
323325
------------------------------
324326

325327
.. versionadded:: 6.1
326328

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

329-
.. caution::
330-
331-
This is an alternative implementation to the above mentioned Bundle class. You can use one of these approaches but not both at the same time.
332-
333-
Instead of creating an extension and configuration class, you can also
334-
extend :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to
335-
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::
336335

337336
// src/AcmeSocialBundle.php
338337
namespace Acme\SocialBundle;

0 commit comments

Comments
 (0)