Skip to content

Commit 52475f3

Browse files
authored
Remove not implemented behavior
Currently numeric keys are used, but it will be deprecated and changed in 7.0.
1 parent f9aaa15 commit 52475f3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,6 @@ argument of type ``service_locator``:
274274
<argument type="service_locator">
275275
<argument key="App\FooCommand" type="service" id="sapp.command_handler.foo"/>
276276
<argument key="App\BarCommandr" type="service" id="app.command_handler.bar"/>
277-
<!-- if the element has no key, the ID of the original service is used -->
278-
<argument type="service" id="app.command_handler.baz"/>
279277
</argument>
280278
</service>
281279
</services>
@@ -296,8 +294,6 @@ argument of type ``service_locator``:
296294
// In versions earlier to Symfony 5.1 the service() function was called ref()
297295
'App\FooCommand' => service('app.command_handler.foo'),
298296
'App\BarCommand' => service('app.command_handler.bar'),
299-
// if the element has no key, the ID of the original service is used
300-
service('app.command_handler.baz'),
301297
])]);
302298
};
303299

0 commit comments

Comments
 (0)