Skip to content

Commit 1d5d3d2

Browse files
ThomasLandauerwouterj
authored andcommitted
Changing monolog.logger to logger
1 parent c87cbf8 commit 1d5d3d2

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

service_container.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)