Skip to content

Adding link to Kernel configuration #17521

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
Dec 8, 2022
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ to change these files after package installation
:doc:`Symfony Configuration Reference </reference/index>` or run the
``config:dump-reference`` command.

.. _configuration-formats:

Configuration Formats
~~~~~~~~~~~~~~~~~~~~~

Expand Down
8 changes: 4 additions & 4 deletions routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ the ``BlogController``:
;
};

.. versionadded:: 5.1
.. note::

Starting from Symfony 5.1, by default Symfony only loads the routes defined
in YAML format. If you define routes 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 only loads the routes defined in YAML format. If you
define routes in XML and/or PHP formats, you need to
:ref:`update the ``src/Kernel.php`` file <configuration-formats>`.

.. _routing-matching-http-methods:

Expand Down