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

[DependencyInjection] Remove not implemented behavior#18441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletionsservice_container/service_subscribers_locators.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -417,13 +417,6 @@ other services. To do so, create a new service definition using the
# add the following tag to the service definition:
# tags: ['container.service_locator']

# if the element has no key, the ID of the original service is used
app.another_command_handler_locator:
class: Symfony\Component\DependencyInjection\ServiceLocator
arguments:
-
- '@app.command_handler.baz'

.. code-block:: xml

<!-- config/services.xml -->
Expand All@@ -438,8 +431,6 @@ other services. To do so, create a new service definition using the
<argument type="collection">
<argument key="App\FooCommand" type="service" id="app.command_handler.foo"/>
<argument key="App\BarCommand" type="service" id="app.command_handler.bar"/>
<!-- if the element has no key, the ID of the original service is used -->
<argument type="service" id="app.command_handler.baz"/>
</argument>
<!--
if you are not using the default service autoconfiguration,
Expand DownExpand Up@@ -470,13 +461,6 @@ other services. To do so, create a new service definition using the
// add the following tag to the service definition:
// ->tag('container.service_locator')
;

// if the element has no key, the ID of the original service is used
$services->set('app.another_command_handler_locator', ServiceLocator::class)
->args([[
service('app.command_handler.baz'),
]])
;
};

.. note::
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp