Skip to content

Commit 01d4924

Browse files
committed
Tweaks
1 parent e0faca5 commit 01d4924

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bundles/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class, you can add all the logic related to processing the configuration in that
9292
;
9393
}
9494

95-
public function loadExtension(array $config, ContainerConfigurator $containerConfigurator, ContainerBuilder $containerBuilder): void
95+
public function loadExtension(array $config, ContainerConfigurator $container, ContainerBuilder $builder): void
9696
{
9797
// the "$config" variable is already merged and processed so you can
9898
// use it directly to configure the service container (when defining an
@@ -150,7 +150,7 @@ Using the Bundle Extension
150150

151151
This is the traditional way of creating friendly configuration for bundles. For new
152152
bundles it's recommended to :ref:`use the main bundle class <bundle-friendly-config-bundle-class>`,
153-
but this other way based on creating an extension class still works.
153+
but the traditional way of creating an extension class still works.
154154

155155
Imagine you are creating a new bundle - AcmeSocialBundle - which provides
156156
integration with X/Twitter. To make your bundle configurable to the user, you

bundles/extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Creating an Extension Class
7373

7474
This is the traditional way of loading service definitions in bundles. For new
7575
bundles it's recommended to :ref:`load your services in the main bundle class <bundle-load-services-bundle-class>`,
76-
but this other way based on creating an extension class still works.
76+
but the traditional way of creating an extension class still works.
7777

7878
A depdendency injection extension is defined as a class that follows these
7979
conventions (later you'll learn how to skip them if needed):

0 commit comments

Comments
 (0)