File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,18 +127,18 @@ method::
127127
128128 class AcmeHelloBundle extends AbstractBundle
129129 {
130- public function loadExtension(array $config, ContainerConfigurator $container , ContainerBuilder $builder ): void
130+ public function loadExtension(array $config, ContainerConfigurator $containerConfigurator , ContainerBuilder $containerBuilder ): void
131131 {
132132 // load an XML, PHP or Yaml file
133- $container ->import('../config/services.xml');
133+ $containerConfigurator ->import('../config/services.xml');
134134
135135 // you can also add or replace parameters and services
136- $container ->parameters()
136+ $containerConfigurator ->parameters()
137137 ->set('acme_hello.phrase', $config['phrase'])
138138 ;
139139
140140 if ($config['scream']) {
141- $container ->services()
141+ $containerConfigurator ->services()
142142 ->get('acme_hello.printer')
143143 ->class(ScreamingPrinter::class)
144144 ;
You can’t perform that action at this time.
0 commit comments