Skip to content

Commit 0bd2dac

Browse files
Add support for valkey: / valkeys: schemes
1 parent 14995ae commit 0bd2dac

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
7.3
5+
---
6+
7+
* Add support for `valkey:` / `valkeys:` schemes
8+
49
7.2
510
---
611

Store/StoreFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public static function createStore(#[\SensitiveParameter] object|string $connect
6262

6363
case str_starts_with($connection, 'redis:'):
6464
case str_starts_with($connection, 'rediss:'):
65+
case str_starts_with($connection, 'valkey:'):
66+
case str_starts_with($connection, 'valkeys:'):
6567
case str_starts_with($connection, 'memcached:'):
6668
if (!class_exists(AbstractAdapter::class)) {
6769
throw new InvalidArgumentException('Unsupported Redis or Memcached DSN. Try running "composer require symfony/cache".');

0 commit comments

Comments
 (0)