8000 [DependencyInjection] Add information about debugging tagged services by BOB41K1987 · Pull Request #17201 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content
8000

[DependencyInjection] Add information about debugging tagged services #17201

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 5, 2022
Merged
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,33 @@ To see a list of all of the available types that can be used for autowiring, run

$ php bin/console debug:autowiring

How to Debug Service Tags & List Tagged Services
------------------------------------
You can find out what services are tagged with a specific tag using the following command:

.. code-block:: terminal

$ php bin/console debug:container --tag=kernel.event_listener

Partial search is also available:

.. code-block:: terminal

$ php bin/console debug:container --tag=kernel

Select one of the following tags to display its information:
[0] kernel.event_listener
[1] kernel.event_subscriber
[2] kernel.reset
[3] kernel.cache_warmer
[4] kernel.locale_aware
[5] kernel.fragment_renderer
[6] kernel.cache_clearer

.. versionadded:: 6.2

The partial search was introduced in Symfony 6.2.

Detailed Info about a Single Service
------------------------------------

Expand Down
0