Skip to content

Commit d40a7ce

Browse files
committed
[Config] Improve adding support for XML format
1 parent 016e54a commit d40a7ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

configuration.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ readable. These are the main advantages and disadvantages of each format:
7575

7676
By default Symfony loads the configuration files defined in YAML and PHP
7777
formats. If you define configuration in XML format, update the
78-
``src/Kernel.php`` file to add support for the ``.xml`` file extension.
78+
:method:`Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait::configureContainer`
79+
and/or
80+
:method:`Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait::configureRoutes`
81+
methods in the ``src/Kernel.php`` file to add support for the ``.xml`` file
82+
extension.
7983

8084
.. versionadded:: 6.1
8185

@@ -855,7 +859,7 @@ In PHP >= 8, you can remove the two arguments when autoconfiguration is enabled
855859
# config/services.yaml
856860
services:
857861
Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~
858-
862+
859863
Then, run the command:
860864

861865
.. code-block:: terminal

0 commit comments

Comments
 (0)