Methods | ||
---|---|---|
public
static
|
set_debug(bool $debug): void
|
# |
public
static
|
set_prefix(string $prefix): void
|
# |
public
static
|
set_expire(?int $ttl = null): void
|
# |
public
static
|
set_adapter(string $key): void
|
# |
public
static
|
get_adapter(string $key): mixed
|
# |
public
static
|
add_adapter(string $key, mixed $adapter): void
|
# |
public
|
remove_adapter(string $key): void
|
# |
public
static
|
get_adapters(): array
|
# |
public
static
|
has(string $key): bool
|
# |
public
static
|
get(string $key, mixed $default = null, array $opt = []): mixed
|
# |
public
static
|
set(string $key, mixed $value, ?int $expire = null): mixed
|
# |
public
static
|
update(string $key, mixed $value): mixed
|
# |
public
static
|
remove(string $key): bool
|
# |
public
static
|
clear(string $prefix = ''): bool
|
# |