8000 [DependencyInjection] Remove not implemented behavior · symfony/symfony-docs@a8770de · GitHub
[go: up one dir, main page]

Skip to content

Commit a8770de

Browse files
upyxjaviereguiluz
authored andcommitted
[DependencyInjection] Remove not implemented behavior
1 parent d0ecbbc commit a8770de

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
@@ -309,8 +309,6 @@ or directly via PHP attributes:
309309
<argument type="service_locator">
310310
<argument key="App\FooCommand" type="service" id="app.command_handler.foo"/>
311311
<argument key="App\BarCommand" type="service" id="app.command_handler.bar"/>
312-
<!-- if the element has no key, the ID of the original service is used -->
313-
<argument type="service" id="app.command_handler.baz"/>
314312
</argument>
315313
</service>
316314
</services>
@@ -331,8 +329,6 @@ or directly via PHP attributes:
331329
// In versions earlier to Symfony 5.1 the service() function was called ref()
332330
'App\FooCommand' => service('app.command_handler.foo'),
333331
'App\BarCommand' => service('app.command_handler.bar'),
334-
// if the element has no key, the ID of the original service is used
335-
service('app.command_handler.baz'),
336332
])]);
337333
};
338334

0 commit comments

Comments
 (0)
0