Skip to content

Commit 8369fe5

Browse files
Pavel Jureckaxabbuh
Pavel Jurecka
authored andcommitted
Update extension.rst - added caution box for people trying to remove the default file with services definitions
1 parent dc645aa commit 8369fe5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/bundles/extension.rst

+6
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ Other available loaders are the ``YamlFileLoader``, ``PhpFileLoader`` and
113113
The ``IniFileLoader`` can only be used to load parameters and it can only
114114
load them as strings.
115115

116+
.. caution::
117+
118+
If you removed the default file with services definitions (i.e.
119+
``app/config/services.yml``), make sure to also remove it from the
120+
``imports`` key in ``app/config/config.yml``.
121+
116122
Using Configuration to Change the Services
117123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118124

0 commit comments

Comments
 (0)