10000 Merge branch '6.0' into 6.1 · symfony/symfony-docs@70cf199 · GitHub
[go: up one dir, main page]

Skip to content

Commit 70cf199

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Explaining how to actually get the session from `Request`
2 parents a5308f5 + b1581f4 commit 70cf199

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

session.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,9 @@ Check out the Symfony config reference to learn more about the other available
135135
Basic Usage
136136
-----------
137137

138-
The session is available through the Request and the RequestStack.
139-
Symfony provides a request_stack service that is injected in your services and
140-
controllers if you type-hint an argument with
141-
:class:`Symfony\\Component\\HttpFoundation\\RequestStack`::
138+
The session is available through the ``Request`` object and the ``RequestStack``
139+
service. Symfony injects the ``request_stack`` service in services and controllers
140+
if you type-hint an argument with :class:`Symfony\\Component\\HttpFoundation\\RequestStack`::
142141

143142
use Symfony\Component\HttpFoundation\RequestStack;
144143

0 commit comments

Comments
 (0)
0