forked from GithubBackups/vichan
use tab indents
This commit is contained in:
parent
416ac88407
commit
58c275472f
@ -4,13 +4,6 @@ namespace Vichan\Data\Driver;
|
|||||||
// Prevent direct access to this file for security
|
// Prevent direct access to this file for security
|
||||||
defined('TINYBOARD') or exit;
|
defined('TINYBOARD') or exit;
|
||||||
|
|
||||||
// Defines the required methods for any cache driver
|
|
||||||
interface CacheDriver {
|
|
||||||
public function get(string $key): mixed;
|
|
||||||
public function set(string $key, mixed $value, mixed $expires = false): void;
|
|
||||||
public function delete(string $key): void;
|
|
||||||
public function flush(): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Handles caching using Redis, a fast in-memory data store
|
// Handles caching using Redis, a fast in-memory data store
|
||||||
class RedisCacheDriver implements CacheDriver {
|
class RedisCacheDriver implements CacheDriver {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user