Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaba4834

Browse files
committed
minor#18441 [DependencyInjection] Remove not implemented behavior (alexandre-daubois)
This PR was merged into the 6.2 branch.Discussion----------[DependencyInjection] Remove not implemented behaviorFollow-up#17576Commits-------b6a23b7 [DependencyInjection] Remove not implemented behavior
2 parentsb7a9195 +b6a23b7 commitaba4834

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

‎service_container/service_subscribers_locators.rst‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,6 @@ other services. To do so, create a new service definition using the
417417
# add the following tag to the service definition:
418418
# tags: ['container.service_locator']
419419
420-
# if the element has no key, the ID of the original service is used
421-
app.another_command_handler_locator:
422-
class:Symfony\Component\DependencyInjection\ServiceLocator
423-
arguments:
424-
-
425-
-'@app.command_handler.baz'
426-
427420
..code-block::xml
428421
429422
<!-- config/services.xml-->
@@ -438,8 +431,6 @@ other services. To do so, create a new service definition using the
438431
<argumenttype="collection">
439432
<argumentkey="App\FooCommand"type="service"id="app.command_handler.foo"/>
440433
<argumentkey="App\BarCommand"type="service"id="app.command_handler.bar"/>
441-
<!-- if the element has no key, the ID of the original service is used-->
442-
<argumenttype="service"id="app.command_handler.baz"/>
443434
</argument>
444435
<!--
445436
if you are not using the default service autoconfiguration,
@@ -470,13 +461,6 @@ other services. To do so, create a new service definition using the
470461
// add the following tag to the service definition:
471462
// ->tag('container.service_locator')
472463
;
473-
474-
// if the element has no key, the ID of the original service is used
475-
$services->set('app.another_command_handler_locator', ServiceLocator::class)
476-
->args([[
477-
service('app.command_handler.baz'),
478-
]])
479-
;
480464
};
481465
482466
..note::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp