We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e27325f commit 55b22ccCopy full SHA for 55b22cc
Session/Storage/Handler/SessionHandlerFactory.php
@@ -54,7 +54,7 @@ public static function createHandler($connection): AbstractSessionHandler
54
case 0 === strpos($connection, 'rediss://'):
55
case 0 === strpos($connection, 'memcached://'):
56
if (!class_exists(AbstractAdapter::class)) {
57
- throw new InvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".', $storage));
+ throw new InvalidArgumentException(sprintf('Unsupported DSN "%s". Try running "composer require symfony/cache".', $connection));
58
}
59
$handlerClass = 0 === strpos($connection, 'memcached://') ? MemcachedSessionHandler::class : RedisSessionHandler::class;
60
$connection = AbstractAdapter::createConnection($connection, ['lazy' => true]);
0 commit comments