Table of Contents
Interfaces
- StorageInterface
Methods
-
__construct()
: mixed
-
read()
: array<string|int, mixed>
-
write()
: mixed
__construct()
public
__construct(CacheEngineInterface $cacheEngine) : mixed
Parameters
-
$cacheEngine
: CacheEngineInterface
-
read()
public
read(string $key, int $ttl) : array<string|int, mixed>
Parameters
-
$key
: string
-
-
$ttl
: int
-
Return values
array<string|int, mixed>
write()
public
write(string $key, mixed $value, int $ttl) : mixed
Parameters
-
$key
: string
-
-
$value
: mixed
-
-
$ttl
: int
-