class PsrCacheAdapter implements CacheInterface

Methods

__construct(Storage $storage)

No description

mixed
get(string $key, mixed $default = null)

No description

bool
set(string $key, mixed $value, null|int|DateInterval $ttl = null)

No description

bool
delete(string $key)

No description

bool
clear()

No description

getMultiple(iterable $keys, mixed $default = null)

No description

bool
setMultiple(iterable $values, null|int|DateInterval $ttl = null)

No description

bool
deleteMultiple(iterable $keys)

No description

bool
has(string $key)

No description

Details

at line 19
__construct(Storage $storage)

No description

Parameters

Storage $storage

at line 25
mixed get(string $key, mixed $default = null)

No description

Parameters

string $key
mixed $default

Return Value

mixed

at line 31
bool set(string $key, mixed $value, null|int|DateInterval $ttl = null)

No description

Parameters

string $key
mixed $value
null|int|DateInterval $ttl

Return Value

bool

at line 44
bool delete(string $key)

No description

Parameters

string $key

Return Value

bool

at line 51
bool clear()

No description

Return Value

bool

at line 61
Generator getMultiple(iterable $keys, mixed $default = null)

No description

Parameters

iterable $keys
mixed $default

Return Value

Generator

at line 72
bool setMultiple(iterable $values, null|int|DateInterval $ttl = null)

No description

Parameters

iterable $values
null|int|DateInterval $ttl

Return Value

bool

at line 84
bool deleteMultiple(iterable $keys)

No description

Parameters

iterable $keys

Return Value

bool

at line 94
bool has(string $key)

No description

Parameters

string $key

Return Value

bool