From d9c9a94c734d48c2b6b14942ff1ac8302e79d185 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Fri, 6 Jan 2023 17:12:59 +0100 Subject: [PATCH] Shortening the list to make it more scanable --- configuration.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/configuration.rst b/configuration.rst index d88b72ad3af..fdf078f832b 100644 --- a/configuration.rst +++ b/configuration.rst @@ -347,7 +347,7 @@ configuration file using a special syntax: wrap the parameter name in two ``%`` .. note:: If some parameter value includes the ``%`` character, you need to escape it - by adding another ``%`` so Symfony doesn't consider it a reference to a + by adding another ``%``, so Symfony doesn't consider it a reference to a parameter name: .. configuration-block:: @@ -409,17 +409,18 @@ The files stored in ``config/packages/`` are used by Symfony to configure the the application behavior by changing which configuration files are loaded. That's the idea of Symfony's **configuration environments**. -A typical Symfony application begins with three environments: ``dev`` (for local -development), ``prod`` (for production servers) and ``test`` (for -:doc:`automated tests `). When running the application, Symfony loads +A typical Symfony application begins with three environments: +* ``dev`` for local development, +* ``prod`` for production servers, +* ``test`` for :doc:`automated tests `. +When running the application, Symfony loads the configuration files in this order (the last files can override the values set in the previous ones): -#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too); -#. ``config/packages//*.yaml`` (and ``*.xml`` and ``*.php`` files too); -#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too); -#. ``config/services_.yaml`` (and ``services_.xml`` - and ``services_.php`` files too). +#. The files in ``config/packages/*.``; +#. the files in ``config/packages//*.``; +#. ``config/services.``; +#. ``config/services_.``. Take the ``framework`` package, installed by default, as an example: