Skip to content

Commit 390a2d7

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [DependencyInjection] Mention `debug:autowiring` command with argument
2 parents f9d13b4 + b9312bc commit 390a2d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

service_container.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,12 @@ But, you can control this and pass in a different logger:
680680
This tells the container that the ``$logger`` argument to ``__construct`` should use
681681
service whose id is ``monolog.logger.request``.
682682

683+
For a list of possible logger services that can be used with autowiring, run:
684+
685+
.. code-block:: terminal
686+
687+
$ php bin/console debug:autowiring logger
688+
683689
.. _container-debug-container:
684690

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

0 commit comments

Comments
 (0)