Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,17 @@ In your extension, you can load this and dynamically set its arguments::
// ... now use the flat $config array
}

Using the Bundle Class
----------------------
Using the AbstractBundle Class
------------------------------

.. versionadded:: 6.1

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

.. caution::

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.

Instead of creating an extension and configuration class, you can also
extend :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to
add this logic to the bundle class directly::
Expand Down