8000 [Session] Fix handler import · SirRFI/symfony-docs@47c0259 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47c0259

Browse files
authored
[Session] Fix handler import
I found two examples where PdoSessionHandler is imported instead of MongoDbSessionHandler.
1 parent 54f6618 commit 47c0259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

session/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ the MongoDB connection as argument:
487487
// config/services.php
488488
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
489489
490-
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
490+
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
491491
492492
return static function (ContainerConfigurator $container) {
493493
$services = $configurator->services();
@@ -596,7 +596,7 @@ configure these values with the second argument passed to the
596596
// config/services.php
597597
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
598598
599-
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
599+
use Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler;
600600
601601
return static function (ContainerConfigurator $container) {
602602
$services = $configurator->services();

0 commit comments

Comments
 (0)
0