Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8df9ed2

Browse filesBrowse files
committed
Minor tweak
1 parent ab7a7c2 commit 8df9ed2
Copy full SHA for 8df9ed2

File tree

1 file changed

+3
-6
lines changed
Filter options

1 file changed

+3
-6
lines changed

‎components/http_foundation.rst

Copy file name to clipboardExpand all lines: components/http_foundation.rst
+3-6Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.