Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9c9a94

Browse filesBrowse files
ThomasLandauerjaviereguiluz
authored andcommitted
Shortening the list to make it more scanable
1 parent 422bf52 commit d9c9a94
Copy full SHA for d9c9a94

File tree

Expand file treeCollapse file tree

1 file changed

+10
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-9
lines changed

‎configuration.rst

Copy file name to clipboardExpand all lines: configuration.rst
+10-9Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ configuration file using a special syntax: wrap the parameter name in two ``%``
347347
.. note::
348348

349349
If some parameter value includes the ``%`` character, you need to escape it
350-
by adding another ``%`` so Symfony doesn't consider it a reference to a
350+
by adding another ``%``, so Symfony doesn't consider it a reference to a
351351
parameter name:
352352

353353
.. configuration-block::
@@ -409,17 +409,18 @@ The files stored in ``config/packages/`` are used by Symfony to configure the
409409
the application behavior by changing which configuration files are loaded.
410410
That's the idea of Symfony's **configuration environments**.
411411

412-
A typical Symfony application begins with three environments: ``dev`` (for local
413-
development), ``prod`` (for production servers) and ``test`` (for
414-
:doc:`automated tests </testing>`). When running the application, Symfony loads
412+
A typical Symfony application begins with three environments:
413+
* ``dev`` for local development,
414+
* ``prod`` for production servers,
415+
* ``test`` for :doc:`automated tests </testing>`.
416+
When running the application, Symfony loads
415417
the configuration files in this order (the last files can override the values
416418
set in the previous ones):
417419

418-
#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
419-
#. ``config/packages/<environment-name>/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
420-
#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
421-
#. ``config/services_<environment-name>.yaml`` (and ``services_<environment-name>.xml``
422-
and ``services_<environment-name>.php`` files too).
420+
#. The files in ``config/packages/*.<extension>``;
421+
#. the files in ``config/packages/<environment-name>/*.<extension>``;
422+
#. ``config/services.<extension>``;
423+
#. ``config/services_<environment-name>.<extension>``.
423424

424425
Take the ``framework`` package, installed by default, as an example:
425426

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.