PSRSimpleCache implements Cache
Read onlyYes
FinalYes
Interfaces
Methods
Methods
__construct()
public
__construct(CacheInterface $cache[, int|DateInterval|null $ttl = null ][, Serializer $serializer = new FloeSerializer() ]) : mixed
Parameters
- $cache : CacheInterface
- $ttl : int|DateInterval|null = null
- $serializer : Serializer = new FloeSerializer()
clear()
public
clear() : void
delete()
public
delete(string $key) : void
Parameters
- $key : string
get()
public
get(string $key) : Rows
Parameters
- $key : string
Return values
Rowshas()
public
has(string $key) : bool
Parameters
- $key : string
Return values
boolset()
public
set(string $key, Rows $value) : void
Parameters
- $key : string
- $value : Rows