File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ in case a specific other bundle is not registered::
8282
8383 // process the configuration of AcmeHelloExtension
8484 $configs = $container->getExtensionConfig($this->getAlias());
85+
86+ // resolve config parameters e.g. %kernel.debug% to its boolean value
87+ $resolvingBag = $container->getParameterBag();
88+ $configs = $resolvingBag->resolveValue($configs);
89+
8590 // use the Configuration class to generate a config array with
8691 // the settings "acme_hello"
8792 $config = $this->processConfiguration(new Configuration(), $configs);
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ You can use the following parameters in this message:
120120============================= ================================================
121121Parameter Description
122122============================= ================================================
123- ``{{ value }} `` The repeated value
123+ ``{{ value }} `` The current (invalid) value
124124============================= ================================================
125125
126126.. include :: /reference/constraints/_payload-option.rst.inc
You can’t perform that action at this time.
0 commit comments