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.
2 parents b41319b + 8df9ed2 commit 935fed8Copy full SHA for 935fed8
components/http_foundation.rst
@@ -252,10 +252,9 @@ Accessing the Session
252
~~~~~~~~~~~~~~~~~~~~~
253
254
If you have a session attached to the request, you can access it via the
255
-:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method or the
256
-:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method;
257
-the
258
-:method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
+``getSession()`` method of the :class:`Symfony\\Component\\HttpFoundation\\Request`
+or :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
+the :method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
259
method tells you if the request contains a session which was started in one of
260
the previous requests.
261
0 commit comments