Skip to content

Commit 48da2d7

Browse files
author
Pavel Jurecka
committed
Update extension.rst - added caution box for people trying to remove the default file with services definitions
1 parent 581f46c commit 48da2d7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/bundles/extension.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,8 @@ Using Configuration to Change the Services
119119
The Extension is also the class that handles the configuration for that
120120
particular bundle (e.g. the configuration in ``app/config/config.yml``). To
121121
read more about it, see the ":doc:`/cookbook/bundles/configuration`" article.
122+
123+
.. caution::
124+
125+
If you removed the default file with services definitions (i. e. ``app/config/services.yml``),
126+
make sure to also remove it from the ``imports`` key in ``app/config/config.yml``.

0 commit comments

Comments
 (0)