19declare(strict_types=1);
34 public function lock(
float $seconds): void;
44 public function has(
string $key): bool;
49 public function get(
string $key,
Transformation $transformation):
string|
int|array|
bool|
null;
54 public function set(
string $key,
string|
int|array|
bool|
null $value, ?
int $ttl =
null):
void;
59 public function delete(
string $key):
void;
has(string $key)
Returns true if the container contains a value for the given key.
getAdaptorName()
Returns the name of the adaptop used (such as apc, memcache, phpstatic)
lock(float $seconds)
Locks the container for a given amount of seconds (max 300), in this time, get() will return null and...
flush()
Deletes all values in the container.
isLocked()
Returns true if the container is locked.
getContainerName()
Returns the name of the container.