Skip to content

Commit e972fd8

Browse files
Gerry Vandermaesenwouterj
Gerry Vandermaesen
authored andcommitted
Replace reference to the "request" service
Change docs to reference the request_stack service instead.
1 parent 1f888ad commit e972fd8

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
@@ -994,7 +994,7 @@ which you can access inside a standard controller as follows::
994994

995995
In Symfony, you'll constantly use services provided by the Symfony core or
996996
other third-party bundles to perform tasks such as rendering templates (``templating``),
997-
sending emails (``mailer``), or accessing information on the request (``request``).
997+
sending emails (``mailer``), or accessing information on the request through the request stack (``request_stack``).
998998

999999
You can take this a step further by using these services inside services that
10001000
you've created for your application. Beginning by modifying the ``NewsletterManager``

0 commit comments

Comments
 (0)