20250324#1

This commit is contained in:
User
2025-03-24 02:54:43 +03:00
parent 42623e9238
commit 88fdcd90f0
2 changed files with 9 additions and 0 deletions

View File

@@ -52,5 +52,12 @@ class RedisStorage implements RedisStorageInterface {
return $this->redis->exists($key); return $this->redis->exists($key);
} }
/**
* @return Redis
*/
public function getRedis(): Redis {
return $this->redis;
}
} }

View File

@@ -13,4 +13,6 @@ interface RedisStorageInterface {
public function get(string $key): mixed; public function get(string $key): mixed;
public function exists(mixed $key): bool | int | Redis; public function exists(mixed $key): bool | int | Redis;
public function getRedis(): Redis;
} }