From bf596c6760e314415b77c2f9c231bdc50559efe1 Mon Sep 17 00:00:00 2001 From: Gerry Vandermaesen Date: Thu, 14 Apr 2016 16:05:21 +0200 Subject: [PATCH] Replace reference to the "request" service Change docs to reference the request_stack service instead. --- 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 7fe60df77af..a3439ff7a46 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -982,7 +982,7 @@ which you can access inside a standard controller as follows:: In Symfony, you'll constantly use services provided by the Symfony core or other third-party bundles to perform tasks such as rendering templates (``templating``), -sending emails (``mailer``), or accessing information on the request (``request``). +sending emails (``mailer``), or accessing information on the request through the request stack (``request_stack``). You can take this a step further by using these services inside services that you've created for your application. Beginning by modifying the ``NewsletterManager``