Skip to content

Commit 6146bfd

Browse files
committed
[DependencyInjection] Mention debug:autowiring command with argument
1 parent 082fd04 commit 6146bfd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

service_container.rst

+6
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,12 @@ But, you can control this and pass in a different logger:
694694
This tells the container that the ``$logger`` argument to ``__construct`` should use
695695
service whose id is ``monolog.logger.request``.
696696

697+
For a list of possible logger services that can be used with autowiring, run:
698+
699+
.. code-block:: terminal
700+
701+
$ php bin/console debug:autowiring logger
702+
697703
.. _container-debug-container:
698704

699705
For a full list of *all* possible services in the container, run:

0 commit comments

Comments
 (0)