Skip to content

Commit 567f8d3

Browse files
committed
Fixes
1 parent fff7f31 commit 567f8d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ argument of type ``service_locator``:
272272
<services>
273273
<service id="App\CommandBus">
274274
<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"/>
277277
<!-- if the element has no key, the ID of the original service is used -->
278278
<argument type="service" id="app.command_handler.baz"/>
279279
</argument>
@@ -318,8 +318,8 @@ Reusing a Service Locator in Multiple Services
318318

319319
If you inject the same service locator in several services, it's better to
320320
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:
323323

324324
.. configuration-block::
325325

0 commit comments

Comments
 (0)