Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions components/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,10 @@ Accessing the Session
~~~~~~~~~~~~~~~~~~~~~

If you have a session attached to the request, you can access it via the
:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method or the
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method;
:method:`Symfony\\Component\\HttpFoundation\\Request::getSession` method
from the :class:`Symfony\\Component\\HttpFoundation\\Request` class or the
:method:`Symfony\\Component\\HttpFoundation\\RequestStack::getSession` method
from the :class:`Symfony\\Component\\HttpFoundation\\RequestStack` class;
the
:method:`Symfony\\Component\\HttpFoundation\\Request::hasPreviousSession`
method tells you if the request contains a session which was started in one of
Expand Down