CacheEngineFiles implements CacheEngineInterface, CacheEngineStatInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- Engine constructor.
- clean() : mixed
- delayedDelete() : void
- Agent function which deletes marked cache directories.
- getCachePath() : mixed
- getReadBytes() : mixed
- getWrittenBytes() : mixed
- isAvailable() : mixed
- isCacheExpired() : mixed
- read() : mixed
- write() : mixed
Methods
__construct()
Engine constructor.
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
-
Cache options.
clean()
public
clean(mixed $baseDir[, mixed $initDir = '' ][, mixed $filename = '' ]) : mixed
Parameters
- $baseDir : mixed
- $initDir : mixed = ''
- $filename : mixed = ''
Tags
delayedDelete()
Agent function which deletes marked cache directories.
public
delayedDelete() : void
getCachePath()
public
getCachePath() : mixed
Tags
getReadBytes()
public
getReadBytes() : mixed
Tags
getWrittenBytes()
public
getWrittenBytes() : mixed
Tags
isAvailable()
public
isAvailable() : mixed
Tags
isCacheExpired()
public
isCacheExpired(mixed $path) : mixed
Parameters
- $path : mixed
Tags
read()
public
read(mixed &$vars, mixed $baseDir, mixed $initDir, mixed $filename, mixed $ttl) : mixed
Parameters
- $vars : mixed
- $baseDir : mixed
- $initDir : mixed
- $filename : mixed
- $ttl : mixed
Tags
write()
public
write(mixed $vars, mixed $baseDir, mixed $initDir, mixed $filename, mixed $ttl) : mixed
Parameters
- $vars : mixed
- $baseDir : mixed
- $initDir : mixed
- $filename : mixed
- $ttl : mixed