Skip to content

Commit 8df9ed2

Browse files
committed
Minor tweak
1 parent ab7a7c2 commit 8df9ed2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/http_foundation.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,9 @@ Accessing the Session
252252
~~~~~~~~~~~~~~~~~~~~~
253253

254254
If you have a session attached to the request, you can access it via the
255-
:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method
256-
from the :class:`Symfony\\Component\\HttpFoundation\\Request` class or the
257-
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method
258-
from the :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
259-
the
260-
:method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
255+
``getSession()`` method of the :class:`Symfony\\Component\\HttpFoundation\\Request`
256+
or :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
257+
the :method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
261258
method tells you if the request contains a session which was started in one of
262259
the previous requests.
263260

0 commit comments

Comments
 (0)