Commit e26f1a1
committed
minor #15048 [Bundles] Add part about resolving parameter values to prepend extension (alexander-schranz)
This PR was merged into the 4.4 branch.
Discussion
----------
[Bundles] Add part about resolving parameter values to prepend extension
I did run into the following issue: symfony/symfony#40198
As when the `$configs` arrray did contain something like `%kernel.debug%` it did error with:
> Expected "bool", but got "string".
I did debug how symfony is handling this and it seems they are resolving the parameter before here:
https://github.com/symfony/symfony/blob/252f85c2c249da7d8f2a490b57cc71199d51fcc9/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php#L54-L62
So I think this should also be part of the Prepend Extension Documentation.
Commits
-------
52ce42f Add part about resolving parameter values to prepend extension1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
0 commit comments