Skip to content

Commit 89ec3ca

Browse files
authored
Merge pull request #124 from symfony/container-services
2 parents b0aa905 + 5d6475a commit 89ec3ca

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ The previous recipe is transformed into the following PHP code:
105105
``container`` Configurator
106106
~~~~~~~~~~~~~~~~~~~~~~~~~~
107107

108-
Adds new container parameters in the ``container.yaml`` file by adding your parameters
109-
in the ``container`` option.
108+
Adds new container parameters in the ``services.yaml`` file by adding your
109+
parameters in the ``container`` option.
110110

111-
This example creates a new ``locale`` container parameter with a default value in your
112-
container:
111+
This example creates a new ``locale`` container parameter with a default value
112+
in your container:
113113

114114
.. code-block:: json
115115

symfony/framework-bundle/3.3/src/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
4444
if (is_dir($confDir.'/packages/'.$this->environment)) {
4545
$loader->load($confDir.'/packages/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob');
4646
}
47-
$loader->load($confDir.'/container'.self::CONFIG_EXTS, 'glob');
47+
$loader->load($confDir.'/services'.self::CONFIG_EXTS, 'glob');
4848
}
4949

5050
protected function configureRoutes(RouteCollectionBuilder $routes): void

0 commit comments

Comments
 (0)