FilesystemCache implements Cache
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- clear() : void
- delete() : void
- get() : Rows
- has() : bool
- schema() : Schema
- set() : void
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
boolschema()
public
schema(string $key) : Schema
Parameters
- $key : string
Return values
Schemaset()
public
set(string $key, Rows $value) : void
Parameters
- $key : string
- $value : Rows