interface CacheInterface

A classic cache interface

Methods

bool
cacheFile(string $filename, string $content, bool $encode_filename = true)

Must create a new version of a file in cache

bool
isCachedFile(string $filename)

Test if a version of a file exists in cache

string
getCachedFile(string $filename)

Get the cached version of a file

Details

at line 41
bool cacheFile(string $filename, string $content, bool $encode_filename = true)

Must create a new version of a file in cache

Parameters

string $filename
string $content
bool $encode_filename

Return Value

bool

at line 49
bool isCachedFile(string $filename)

Test if a version of a file exists in cache

Parameters

string $filename

Return Value

bool

at line 57
string getCachedFile(string $filename)

Get the cached version of a file

Parameters

string $filename

Return Value

string