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