class EdgeFileCache implements EdgeCacheInterface (View source)

The FileCacheHandler class.

Methods

__construct(string $path)

FileCacheHandler constructor.

boolean
isExpired(string $path)

isExpired

string
getCacheKey(string $path)

getCacheKey

string
getCacheFile(string $key)

getCacheFile

string
load(string $path)

load

store(string $path, string $value)

store

remove(string $path)

Remove an item from the cache by its unique key

Details

at line line 30
__construct(string $path)

FileCacheHandler constructor.

Parameters

string $path

at line line 42
boolean isExpired(string $path)

isExpired

Parameters

string $path

Return Value

boolean

at line line 61
string getCacheKey(string $path)

getCacheKey

Parameters

string $path

Return Value

string

at line line 73
string getCacheFile(string $key)

getCacheFile

Parameters

string $key

Return Value

string

at line line 85
string load(string $path)

load

Parameters

string $path

Return Value

string

at line line 98
EdgeCacheInterface store(string $path, string $value)

store

Parameters

string $path
string $value

Return Value

EdgeCacheInterface

at line line 119
EdgeCacheInterface remove(string $path)

Remove an item from the cache by its unique key

Parameters

string $path

Return Value

EdgeCacheInterface