Skip to content

Commit 6c3096e

Browse files
committed
minor #14401 [Configuration] Wrong services path and addition services_environment-name (lubo13)
This PR was merged into the 4.4 branch. Discussion ---------- [Configuration] Wrong services path and addition services_environment-name I saw in Kernel the following: ``` $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob'); $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob'); $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob'); $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');` ``` I think that the documentation can be tweaked a little is it make sense? Commits ------- 87d6718 Wrong services path and addition services_environment-name
2 parents 143ed72 + 87d6718 commit 6c3096e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configuration.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ set in the previous ones):
387387

388388
#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
389389
#. ``config/packages/<environment-name>/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
390-
#. ``config/packages/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
390+
#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
391+
#. ``config/services_<environment-name>.yaml`` (and ``services_environment-name.xml`` and ``services_environment-name.php`` files too);
391392

392393
Take the ``framework`` package, installed by default, as an example:
393394

0 commit comments

Comments
 (0)