Commit 0370bd5
committed
minor #16694 [Config] Add Kernel method override example for php/xml formats (HypeMC)
This PR was merged into the 5.4 branch.
Discussion
----------
[Config] Add Kernel method override example for php/xml formats
The docs for version 5.4 aren't clear on what needs to be updated to add support for the `xml` and `php` config formats.
With previous versions this wasn't a problem since the `Kernel` class in the recipe had a [`configureContainer` method](https://github.com/symfony/recipes/blob/c88ce965a50fe33073750247066da9d7a23845c1/symfony/framework-bundle/5.3/src/Kernel.php#L14) so it was easy to infer what needs to be done. However, starting with version 5.4 the method was moved to the [`MicroKernelTrait`](https://github.com/symfony/symfony/blob/c9a5155f677c31202770f78921c0afd45be6625c/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php#L50) and [removed from the recipe](https://github.com/symfony/recipes/blob/c88ce965a50fe33073750247066da9d7a23845c1/symfony/framework-bundle/5.4/src/Kernel.php#L10) making it a lot harder to know what exactly needs to be done to get `php`/`xml` formats working.
Commits
-------
f083d69 [Config] Add Kernel method override example for php/xml formats1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
69 | 88 | | |
70 | 89 | | |
71 | 90 | | |
| |||
0 commit comments