Skip to content

Commit bf596c6

Browse files
author
Gerry Vandermaesen
committed
Replace reference to the "request" service
Change docs to reference the request_stack service instead.
1 parent a9c9865 commit bf596c6

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

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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy