8000 minor #5222 Update service_container.rst (assoum891) · symfony/symfony-docs@3ebe1b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ebe1b2

Browse files
committed
minor #5222 Update service_container.rst (assoum891)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5222). Discussion ---------- Update service_container.rst a missing must Commits ------- 1186265 Update service_container.rst
2 parents cd8614f + 1186265 commit 3ebe1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ Core Symfony and Third-Party Bundle Services
817817
Since Symfony and all third-party bundles configure and retrieve their services
818818
via the container, you can easily access them or even use them in your own
819819
services. To keep things simple, Symfony by default does not require that
820 5221 -
controllers be defined as services. Furthermore, Symfony injects the entire
820+
controllers must be defined as services. Furthermore, Symfony injects the entire
821821
service container into your controller. For example, to handle the storage of
822822
information on a user's session, Symfony provides a ``session`` service,
823823
which you can access inside a standard controller as follows::

0 commit comments

Comments
 (0)
0