Skip to content

[Config] PHP config files are loaded again #16447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2022
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
11 changes: 7 additions & 4 deletions configuration.rst
Original file line number Diff line number Diff line change
@@ -76,10 +76,13 @@ readable. These are the main advantages and disadvantages of each format:

.. note::

By default Symfony only loads the configuration files defined in YAML
format. If you define configuration in XML and/or PHP formats, update the
``src/Kernel.php`` file to add support for the ``.xml`` and ``.php`` file
extensions.
By default Symfony loads the configuration files defined in YAML and PHP
formats. If you define configuration in XML format, update the
``src/Kernel.php`` file to add support for the ``.xml`` file extension.

.. versionadded:: 6.1

The automatic loading of PHP configuration files was introduced in Symfony 6.1.

Importing Configuration Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~