File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ Prepending Extension in the Bundle Class
158158
159159 The ``AbstractBundle `` class was introduced in Symfony 6.1.
160160
161- You can also append or prepend extension configuration directly in your
161+ You can also prepend extension configuration directly in your
162162Bundle class if you extend from the :class: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ AbstractBundle `
163163class and define the :method: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ AbstractBundle::prependExtension `
164164method::
@@ -175,14 +175,6 @@ method::
175175 $containerBuilder->prependExtensionConfig('framework', [
176176 'cache' => ['prefix_seed' => 'foo/bar'],
177177 ]);
178-
179- // append
180- $containerConfigurator->extension('framework', [
181- 'cache' => ['prefix_seed' => 'foo/bar'],
182- ]);
183-
184- // append from file
185- $containerConfigurator->import('../config/packages/cache.php');
186178 }
187179 }
188180
You can’t perform that action at this time.
0 commit comments