File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ Using the Bundle Class
320320
321321.. versionadded :: 6.1
322322
323- The ``AbstractBundle `` class is introduced in Symfony 6.1.
323+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
324324
325325Instead of creating an extension and configuration class, you can also
326326extend :class: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ AbstractBundle ` to
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ Loading Services directly in your Bundle class
116116
117117.. versionadded :: 6.1
118118
119- The ``AbstractBundle `` class is introduced in Symfony 6.1.
119+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
120120
121121Alternatively, you can define and load services configuration directly in a
122122bundle class instead of creating a specific ``Extension `` class. You can do
@@ -125,8 +125,8 @@ and defining the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle
125125method::
126126
127127 // ...
128- use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
129128 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
129+ use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
130130
131131 class AcmeHelloBundle extends AbstractBundle
132132 {
Original file line number Diff line number Diff line change @@ -156,16 +156,16 @@ Prepending Extension in the Bundle Class
156156
157157.. versionadded :: 6.1
158158
159- The ``AbstractBundle `` class is introduced in Symfony 6.1.
159+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
160160
161161You can also append or 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::
165165
166- use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
167166 use Symfony\Component\DependencyInjection\ContainerBuilder;
168167 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
168+ use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
169169
170170 class FooBundle extends AbstractBundle
171171 {
@@ -179,7 +179,7 @@ method::
179179 // append
180180 $container->extension('framework', [
181181 'cache' => ['prefix_seed' => 'foo/bar'],
182- ])
182+ ]);
183183
184184 // append from file
185185 $container->import('../config/packages/cache.php');
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ add a service conditionally based on the ``foo`` value::
243243
244244.. versionadded :: 6.1
245245
246- The ``AbstractExtension `` class is introduced in Symfony 6.1.
246+ The ``AbstractExtension `` class was introduced in Symfony 6.1.
247247
248248Unlike the previous kernel, this loads an external ``config/framework.yaml `` file,
249249because the configuration started to get bigger:
You can’t perform that action at this time.
0 commit comments