Skip to content

Commit a613c19

Browse files
author
Drak
committed
[HttpFoundation] Remove misleading documentation.
Removed some critically incorrect information.
1 parent b59c01f commit a613c19

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)