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 935fed8

Browse filesBrowse files
committed
Merge branch '5.3' into 5.4
* 5.3: [HTTP Foundation] Improve sentence to avoid repetition
2 parents b41319b + 8df9ed2 commit 935fed8
Copy full SHA for 935fed8

File tree

1 file changed

+3
-4
lines changed
Filter options

1 file changed

+3
-4
lines changed

‎components/http_foundation.rst

Copy file name to clipboardExpand all lines: components/http_foundation.rst
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +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 or the
256-
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method;
257-
the
258-
: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`
259258
method tells you if the request contains a session which was started in one of
260259
the previous requests.
261260

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.