From 93452f51cd4e58409826d149ef08621d6bfbdb14 Mon Sep 17 00:00:00 2001 From: Pavel Jurecka Date: Wed, 9 Mar 2016 21:47:04 +0100 Subject: [PATCH] Update extension.rst - added caution box for people trying to remove the default file with services definitions --- cookbook/bundles/extension.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbook/bundles/extension.rst b/cookbook/bundles/extension.rst index 1cc271212e2..599bf0ffba0 100644 --- a/cookbook/bundles/extension.rst +++ b/cookbook/bundles/extension.rst @@ -113,6 +113,12 @@ Other available loaders are the ``YamlFileLoader``, ``PhpFileLoader`` and The ``IniFileLoader`` can only be used to load parameters and it can only load them as strings. +.. caution:: + + If you removed the default file with services definitions (i.e. + ``app/config/services.yml``), make sure to also remove it from the + ``imports`` key in ``app/config/config.yml``. + Using Configuration to Change the Services ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~