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 @@ -123,18 +123,18 @@ method::
123123
124124 class AcmeHelloBundle extends AbstractBundle
125125 {
126- public function loadExtension(array $config, ContainerConfigurator $containerConfigurator , ContainerBuilder $containerBuilder ): void
126+ public function loadExtension(array $config, ContainerConfigurator $container , ContainerBuilder $builder ): void
127127 {
128128 // load an XML, PHP or Yaml file
129- $containerConfigurator ->import('../config/services.xml');
129+ $container ->import('../config/services.xml');
130130
131131 // you can also add or replace parameters and services
132- $containerConfigurator ->parameters()
132+ $container ->parameters()
133133 ->set('acme_hello.phrase', $config['phrase'])
134134 ;
135135
136136 if ($config['scream']) {
137- $containerConfigurator ->services()
137+ $container ->services()
138138 ->get('acme_hello.printer')
139139 ->class(ScreamingPrinter::class)
140140 ;
You can’t perform that action at this time.
0 commit comments