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::
123
123
124
124
class AcmeHelloBundle extends AbstractBundle
125
125
{
126
- public function loadExtension(array $config, ContainerConfigurator $containerConfigurator , ContainerBuilder $containerBuilder ): void
126
+ public function loadExtension(array $config, ContainerConfigurator $container , ContainerBuilder $builder ): void
127
127
{
128
128
// load an XML, PHP or Yaml file
129
- $containerConfigurator ->import('../config/services.xml');
129
+ $container ->import('../config/services.xml');
130
130
131
131
// you can also add or replace parameters and services
132
- $containerConfigurator ->parameters()
132
+ $container ->parameters()
133
133
->set('acme_hello.phrase', $config['phrase'])
134
134
;
135
135
136
136
if ($config['scream']) {
137
- $containerConfigurator ->services()
137
+ $container ->services()
138
138
->get('acme_hello.printer')
139
139
->class(ScreamingPrinter::class)
140
140
;
You can’t perform that action at this time.
0 commit comments