Skip to content

Commit 2d491c3

Browse files
committed
Merge pull request symfony#1703 from drak/patch-3
[HttpFoundation] Remove misleading documentation.
2 parents dd24ff7 + a613c19 commit 2d491c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/http_foundation/sessions.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,12 @@ Session workflow
6969
Starts the session - do not use ``session_start()``.
7070

7171
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::migrate`:
72-
Regenerates the session id - do not use ``session_regenerate_id()``.
72+
Regenerates the session ID - do not use ``session_regenerate_id()``.
7373
This method can optionally change the lifetime of the new cookie that will
7474
be emitted by calling this method.
7575

7676
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::invalidate`:
77-
Clears the session data and regenerates the session id do not use ``session_destroy()``.
78-
This is a shortcut for ``clear()`` and ``migrate()``.
77+
Clears the all session data and regenerates session ID do not use ``session_destroy()``.
7978

8079
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::getId`: Gets the
8180
session ID. Do not use ``session_id()``.

0 commit comments

Comments
 (0)