Added 'valkey' cache driver as an alias of 'redis'

This commit is contained in:
Chris Kankiewicz
2025-04-25 09:27:22 -07:00
parent 7da3c37e5b
commit b64277feb4

View File

@@ -36,6 +36,7 @@ class CacheFactory
'memcached' => $this->getMemcachedAdapter(),
'php-file' => $this->getPhpFilesAdapter(),
'redis' => $this->getRedisAdapter(),
'valkey' => $this->getRedisAdapter(),
default => throw InvalidConfiguration::fromConfig('cache_driver', $this->config->get('cache_driver'))
};
}