8000 Added the versionadded directive · symfony/symfony-docs@e93756f · GitHub
[go: up one dir, main page]

Skip to content

Commit e93756f

Browse files
Added the versionadded directive
1 parent 386f639 commit e93756f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ Example usage::
9191
Migrating Between Save Handlers
9292
-------------------------------
9393

94+
.. versionadded:: 4.1
95+
  The ``MigratingSessionHandler`` class was introduced in Symfony 4.1.
96+
9497
If your application changes the way sessions are stored, use the
9598
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MigratingSessionHandler`
9699
to migrate between old and new save handlers without losing session data.
@@ -110,7 +113,6 @@ This is the recommended migration workflow:
110113

111114
#. After verifying that the sessions in your application are working, switch
112115
from the migrating handler to the new handler.
113-
$sessionStorage = $newSessionStorage;
114116

115117
Configuring PHP Sessions
116118
~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0