19 declare(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;
64 public function flush(): void;
isLocked()
Returns true if the container is locked.
has(string $key)
Returns true if the container contains a value for the given key.
flush()
Deletes all values in the container.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getContainerName()
Returns the name of the container.
lock(float $seconds)
Locks the container for a given amount of seconds (max 300), in this time, get() will return null and...
getAdaptorName()
Returns the name of the adaptop used (such as apc, memcache, phpstatic)