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 @@ -272,8 +272,8 @@ argument of type ``service_locator``:
272
272
<services >
273
273
<service id =" App\CommandBus" >
274
274
<argument type =" service_locator" >
275
- <argument key =" App\FooCommand" type =" service" id =" sapp.command_handler.foo" />
276
- <argument key =" App\BarCommandr" type =" service" id =" app.command_handler.bar" />
275
+ <argument key =" App\FooCommand" type =" service" id =" sapp.command_handler.foo" />
276
+ <argument key =" App\BarCommandr" type =" service" id =" app.command_handler.bar" />
277
277
<!-- if the element has no key, the ID of the original service is used -->
278
278
<argument type =" service" id =" app.command_handler.baz" />
279
279
</argument >
@@ -318,8 +318,8 @@ Reusing a Service Locator in Multiple Services
318
318
319
319
If you inject the same service locator in several services, it's better to
320
320
define the service locator as a stand-alone service and then inject it in the
321
- other files . To do so, create a new service definition using the `` ServiceLocator ``
322
- class:
321
+ other services . To do so, create a new service definition using the
322
+ `` ServiceLocator `` class:
323
323
324
324
.. configuration-block ::
325
325
You can’t perform that action at this time.
0 commit comments