class RedisProvider implements CacheProviderInterface

Methods

__construct(RedisCache $redisCache)

No description

string
getName()

No description

mixed
fetch($id)

Fetch an item out of the cache

bool
save($id, $value, bool $lifetime = false)

Save an item into the cache

mixed
contains($id)

Check if an item has been cached

bool
delete($id)

Delete an item from the cache

bool
flush()

Delete all items from the cache

Details

at line 24
__construct(RedisCache $redisCache)

Parameters

RedisCache $redisCache

at line 32
string getName()

Return Value

string

at line 41
mixed fetch($id)

Fetch an item out of the cache

Parameters

$id

Return Value

mixed

at line 52
bool save($id, $value, bool $lifetime = false)

Save an item into the cache

Parameters

$id
$value
bool $lifetime

Return Value

bool

at line 61
mixed contains($id)

Check if an item has been cached

Parameters

$id

Return Value

mixed

at line 70
bool delete($id)

Delete an item from the cache

Parameters

$id

Return Value

bool

at line 78
bool flush()

Delete all items from the cache

Return Value

bool