Skip to content

Commit 6679bc6

Browse files
committed
minor #21032 [FrameworkBundle] Replace session.storage service (alamirault)
This PR was merged into the 6.4 branch. Discussion ---------- [FrameworkBundle] Replace session.storage service UPGRADE-5.3.md: Deprecate the `session.storage` alias and `session.storage.*` services, use the `session.storage.factory` alias and `session.storage.factory.*` services instead symfony/symfony#40048 Yaml code block use "good services". This PR replace xml and php code block to use same ids Commits ------- 8a2dd32 [FrameworkBundle] Deprecate session.storage service
2 parents f0a72e1 + 8a2dd32 commit 6679bc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

session.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,8 @@ the example below:
18431843
https://symfony.com/schema/dic/services/services-1.0.xsd">
18441844
18451845
<framework:config>
1846-
<framework:session storage-id="session.storage.php_bridge"
1847-
handler-id="session.storage.native_file"
1846+
<framework:session storage-id="session.storage.factory.php_bridge"
1847+
handler-id="session.handler.native_file"
18481848
/>
18491849
</framework:config>
18501850
</container>
@@ -1857,7 +1857,7 @@ the example below:
18571857
return static function (FrameworkConfig $framework): void {
18581858
$framework->session()
18591859
->storageFactoryId('session.storage.factory.php_bridge')
1860-
->handlerId('session.storage.native_file')
1860+
->handlerId('session.handler.native_file')
18611861
;
18621862
};
18631863

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy