File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -57,19 +57,21 @@ What other services are available? Find out by running:
5757
5858 # this is just a *small* sample of the output...
5959
60- Describes a logger instance.
61- Psr\Log\LoggerInterface (monolog.logger)
60+ Autowirable Types
61+ =================
6262
63- Request stack that controls the lifecycle of requests.
64- Symfony\Component\HttpFoundation\RequestStack (request_stack)
63+ The following classes & interfaces can be used as type-hints when autowiring:
6564
66- Interface for the session .
67- Symfony\Component\HttpFoundation\Session\SessionInterface (session )
65+ Describes a logger instance .
66+ Psr\Log\LoggerInterface (logger )
6867
69- RouterInterface is the interface that all Router classes must implement .
70- Symfony\Component\Routing\RouterInterface (router.default )
68+ Request stack that controls the lifecycle of requests .
69+ Symfony\Component\HttpFoundation\RequestStack (request_stack )
7170
72- [...]
71+ RouterInterface is the interface that all Router classes must implement.
72+ Symfony\Component\Routing\RouterInterface (router.default)
73+
74+ [...]
7375
7476 When you use these type-hints in your controller methods or inside your
7577:ref: `own services <service-container-creating-service >`, Symfony will automatically
You can’t perform that action at this time.
0 commit comments