\Phile\Plugin\Phile\PhpFastCachePhpFastCache

Class PhpFastCache

Summary

Methods
Properties
Constants
__construct()
has()
get()
set()
delete()
No public properties found
No constants found
No protected methods found
$cacheEngine
N/A
No private methods found
No private properties found
N/A

Properties

$cacheEngine

$cacheEngine : \phpFastCache

Type

\phpFastCache — the cache engine

Methods

__construct()

__construct(\phpFastCache $cacheEngine)

the constructor

Parameters

\phpFastCache $cacheEngine

has()

has(mixed $key) : bool|mixed

method to check if cache has entry for given key

Parameters

mixed $key

Returns

bool|mixed

get()

get(mixed $key) : mixed|null

method to get cache entry

Parameters

mixed $key

Returns

mixed|null

set()

set(string $key, string $value, int $time, array $options) : mixed|void

method to set cache entry

Parameters

string $key
string $value
int $time
array $options

Returns

mixed|void

delete()

delete(string $key, array $options) : mixed|void

method to delete cache entry

Parameters

string $key
array $options

Returns

mixed|void