Merge pull request #124 from symfony/container-services

This commit is contained in:
Symfony
2017-07-21 01:25:24 -07:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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
+1 -1
View File
@@ -44,7 +44,7 @@ final class Kernel extends BaseKernel
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