From 7cfc41e98090d940348e4122ba6bcc2340df33c1 Mon Sep 17 00:00:00 2001 From: assoum891 Date: Sun, 3 May 2015 13:43:10 +0200 Subject: [PATCH] Update service_container.rst --- book/service_container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/service_container.rst b/book/service_container.rst index 8ea418fcd2e..ebe274d42cb 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -978,7 +978,7 @@ Core Symfony and Third-Party Bundle Services Since Symfony and all third-party bundles configure and retrieve their services via the container, you can easily access them or even use them in your own services. To keep things simple, Symfony by default does not require that -controllers be defined as services. Furthermore, Symfony injects the entire +controllers must be defined as services. Furthermore, Symfony injects the entire service container into your controller. For example, to handle the storage of information on a user's session, Symfony provides a ``session`` service, which you can access inside a standard controller as follows::