@@ -49,17 +49,21 @@ What other services are available? Find out by running:
4949
5050 $ php bin/console debug:autowiring
5151
52- # this is just a *small* sample of the output...
53- ========================================================== ==================================
54- Class/Interface Type Alias Service ID
55- ========================================================== ==================================
56- Psr\Cache\CacheItemPoolInterface alias for "cache.app.recorder"
57- Psr\Log\LoggerInterface alias for "monolog.logger"
58- Symfony\Component\EventDispatcher\EventDispatcherInterface alias for "debug.event_dispatcher"
59- Symfony\Component\HttpFoundation\RequestStack alias for "request_stack"
60- Symfony\Component\HttpFoundation\Session\SessionInterface alias for "session"
61- Symfony\Component\Routing\RouterInterface alias for "router.default"
62- ========================================================== ==================================
52+ # this is just a *small* sample of the output...
53+
54+ Describes a logger instance.
55+ Psr\Log\LoggerInterface (monolog.logger)
56+
57+ Request stack that controls the lifecycle of requests.
58+ Symfony\Component\HttpFoundation\RequestStack (request_stack)
59+
60+ Interface for the session.
61+ Symfony\Component\HttpFoundation\Session\SessionInterface (session)
62+
63+ RouterInterface is the interface that all Router classes must implement.
64+ Symfony\Component\Routing\RouterInterface (router.default)
65+
66+ [...]
6367
6468 When you use these type-hints in your controller methods or inside your
6569:ref: `own services <service-container-creating-service >`, Symfony will automatically
@@ -261,18 +265,21 @@ type-hints by running:
261265
262266 $ php bin/console debug:autowiring
263267
264- This command is your best friend. This is a small subset of the output:
265-
266- =============================================================== =====================================
267- Class/Interface Type Alias Service ID
268- =============================================================== =====================================
269- ``Psr\Cache\CacheItemPoolInterface `` alias for "cache.app.recorder"
270- ``Psr\Log\LoggerInterface `` alias for "monolog.logger"
271- ``Symfony\Component\EventDispatcher\EventDispatcherInterface `` alias for "debug.event_dispatcher"
272- ``Symfony\Component\HttpFoundation\RequestStack `` alias for "request_stack"
273- ``Symfony\Component\HttpFoundation\Session\SessionInterface `` alias for "session"
274- ``Symfony\Component\Routing\RouterInterface `` alias for "router.default"
275- =============================================================== =====================================
268+ # this is just a *small* sample of the output...
269+
270+ Describes a logger instance.
271+ Psr\Log\LoggerInterface (monolog.logger)
272+
273+ Request stack that controls the lifecycle of requests.
274+ Symfony\Component\HttpFoundation\RequestStack (request_stack)
275+
276+ Interface for the session.
277+ Symfony\Component\HttpFoundation\Session\SessionInterface (session)
278+
279+ RouterInterface is the interface that all Router classes must implement.
280+ Symfony\Component\Routing\RouterInterface (router.default)
281+
282+ [...]
276283
277284 Handling Multiple Services
278285~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments