From 5d6475a90b3748219d3f8a5f6406d80fa9dfc5dd Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 21 Jul 2017 10:12:49 +0200 Subject: [PATCH] renamed container.yaml to services.yaml --- README.rst | 8 ++++---- symfony/framework-bundle/3.3/src/Kernel.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 9fccd0cf6..2ee84373f 100644 --- a/README.rst +++ b/README.rst @@ -105,11 +105,11 @@ The previous recipe is transformed into the following PHP code: ``container`` Configurator ~~~~~~~~~~~~~~~~~~~~~~~~~~ -Adds new container parameters in the ``container.yaml`` file by adding your parameters -in the ``container`` option. +Adds new container parameters in the ``services.yaml`` file by adding your +parameters in the ``container`` option. -This example creates a new ``locale`` container parameter with a default value in your -container: +This example creates a new ``locale`` container parameter with a default value +in your container: .. code-block:: json diff --git a/symfony/framework-bundle/3.3/src/Kernel.php b/symfony/framework-bundle/3.3/src/Kernel.php index 1aa7fc4ba..f5ded7f78 100644 --- a/symfony/framework-bundle/3.3/src/Kernel.php +++ b/symfony/framework-bundle/3.3/src/Kernel.php @@ -44,7 +44,7 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa if (is_dir($confDir.'/packages/'.$this->environment)) { $loader->load($confDir.'/packages/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob'); } - $loader->load($confDir.'/container'.self::CONFIG_EXTS, 'glob'); + $loader->load($confDir.'/services'.self::CONFIG_EXTS, 'glob'); } protected function configureRoutes(RouteCollectionBuilder $routes): void