[DI] fix processing of regular parameter bags by MergeExtensionConfigurationPass
This commit is contained in:
parent
081c601243
commit
b06d0003a3
|
@ -186,6 +186,10 @@ class MergeExtensionConfigurationContainerBuilder extends ContainerBuilder
|
||||||
$bag = $this->getParameterBag();
|
$bag = $this->getParameterBag();
|
||||||
$value = $bag->resolveValue($value);
|
$value = $bag->resolveValue($value);
|
||||||
|
|
||||||
|
if (!$bag instanceof EnvPlaceholderParameterBag) {
|
||||||
|
return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
|
||||||
|
}
|
||||||
|
|
||||||
foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
|
foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
|
||||||
if (false === strpos($env, ':')) {
|
if (false === strpos($env, ':')) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Reference in New Issue