File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -281,10 +281,10 @@ service definition to pass a collection of services to the service locator:
281281
282282 <service id =" app.command_handler_locator" class =" Symfony\Component\DependencyInjection\ServiceLocator" >
283283 <argument type =" collection" >
284- <argument key =" App\FooCommand" type =" service" id =" app.command_handler.foo" />
285- <argument key =" App\BarCommand" type =" service" id =" app.command_handler.bar" />
284+ <argument key =" App\FooCommand" type =" service" id =" app.command_handler.foo" />
285+ <argument key =" App\BarCommand" type =" service" id =" app.command_handler.bar" />
286286 <!-- if the element has no key, the ID of the original service is used -->
287- <argument type =" service" id =" app.command_handler.baz" />
287+ <argument type =" service" id =" app.command_handler.baz" />
288288 </argument >
289289 <!--
290290 if you are not using the default service autoconfiguration,
@@ -318,6 +318,7 @@ service definition to pass a collection of services to the service locator:
318318 ;
319319
320320 .. versionadded :: 4.1
321+
321322 The service locator autoconfiguration was introduced in Symfony 4.1. In
322323 previous Symfony versions you always needed to add the
323324 ``container.service_locator `` tag explicitly.
You can’t perform that action at this time.
0 commit comments