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
320
320
321
321
.. versionadded :: 6.1
322
322
323
- The ``AbstractBundle `` class is introduced in Symfony 6.1.
323
+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
324
324
325
325
Instead of creating an extension and configuration class, you can also
326
326
extend :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
116
116
117
117
.. versionadded :: 6.1
118
118
119
- The ``AbstractBundle `` class is introduced in Symfony 6.1.
119
+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
120
120
121
121
Alternatively, you can define and load services configuration directly in a
122
122
bundle class instead of creating a specific ``Extension `` class. You can do
@@ -125,8 +125,8 @@ and defining the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle
125
125
method::
126
126
127
127
// ...
128
- use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
129
128
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
129
+ use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
130
130
131
131
class AcmeHelloBundle extends AbstractBundle
132
132
{
Original file line number Diff line number Diff line change @@ -156,16 +156,16 @@ Prepending Extension in the Bundle Class
156
156
157
157
.. versionadded :: 6.1
158
158
159
- The ``AbstractBundle `` class is introduced in Symfony 6.1.
159
+ The ``AbstractBundle `` class was introduced in Symfony 6.1.
160
160
161
161
You can also append or prepend extension configuration directly in your
162
162
Bundle class if you extend from the :class: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ AbstractBundle `
163
163
class and define the :method: `Symfony\\ Component\\ HttpKernel\\ Bundle\\ AbstractBundle::prependExtension `
164
164
method::
165
165
166
- use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
167
166
use Symfony\Component\DependencyInjection\ContainerBuilder;
168
167
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
168
+ use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
169
169
170
170
class FooBundle extends AbstractBundle
171
171
{
@@ -179,7 +179,7 @@ method::
179
179
// append
180
180
$container->extension('framework', [
181
181
'cache' => ['prefix_seed' => 'foo/bar'],
182
- ])
182
+ ]);
183
183
184
184
// append from file
185
185
$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::
243
243
244
244
.. versionadded :: 6.1
245
245
246
- The ``AbstractExtension `` class is introduced in Symfony 6.1.
246
+ The ``AbstractExtension `` class was introduced in Symfony 6.1.
247
247
248
248
Unlike the previous kernel, this loads an external ``config/framework.yaml `` file,
249
249
because the configuration started to get bigger:
You can’t perform that action at this time.
0 commit comments