Skip to content

Commit 57fc9bd

Browse files
committed
Minor tweaks
1 parent 6be632e commit 57fc9bd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

bundles/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

325325
Instead of creating an extension and configuration class, you can also
326326
extend :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle` to

bundles/extension.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

121121
Alternatively, you can define and load services configuration directly in a
122122
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
125125
method::
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
{

bundles/prepend_extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

161161
You can also append or prepend extension configuration directly in your
162162
Bundle class if you extend from the :class:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle`
163163
class and define the :method:`Symfony\\Component\\HttpKernel\\Bundle\\AbstractBundle::prependExtension`
164164
method::
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');

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

248248
Unlike the previous kernel, this loads an external ``config/framework.yaml`` file,
249249
because the configuration started to get bigger:

0 commit comments

Comments
 (0)