8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6672e4 commit 98ebaceCopy full SHA for 98ebace
session.rst
@@ -160,8 +160,9 @@ controllers if you type-hint an argument with
160
161
.. deprecated:: 5.3
162
163
- The ``SessionInterface`` and ``session`` service are deprecated since
164
- Symfony 5.3. Inject a request stack instead.
+ The ``SessionInterface`` and ``session`` service were deprecated in
+ Symfony 5.3. Instead, inject the ``RequestStack`` service to get the session
165
+ object of the current request.
166
167
Stored attributes remain in the session for the remainder of that user's session.
168
By default, session attributes are key-value pairs managed with the
0 commit comments