FilesystemCache implements Cache
Read onlyYes
FinalYes
Interfaces
Methods
Methods
__construct()
public
__construct(Filesystem $filesystem[, Path|null $cacheDir = null ][, Serializer $serializer = new FloeSerializer() ]) : mixed
Parameters
- $filesystem : Filesystem
- $cacheDir : Path|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