\Core\Common\HandlerCacheRedisHandler

Summary

Methods
Properties
Constants
__construct()
get()
fetch()
set()
delete()
clear()
getMultiple()
setMultiple()
deleteMultiple()
has()
clearPrefix()
addKey()
keys()
delKey()
No public properties found
No constants found
No protected methods found
$redis
N/A
No private methods found
No private properties found
N/A

Properties

$redis

$redis : \Redis

Type

\Redis

Methods

__construct()

__construct(\Psr\Container\ContainerInterface  $container, array  $config) 

Parameters

\Psr\Container\ContainerInterface $container
array $config

get()

get(  $key,   $default = null) 

Parameters

$key
$default

fetch()

fetch(\Core\Common\Handler\string  $key,   $default = null) 

Parameters

\Core\Common\Handler\string $key
$default

set()

set(  $key,   $value,   $ttl = null) 

Parameters

$key
$value
$ttl

delete()

delete(  $key) 

Parameters

$key

clear()

clear() 

getMultiple()

getMultiple(  $keys,   $default = null) 

Parameters

$keys
$default

setMultiple()

setMultiple(  $values,   $ttl = null) 

Parameters

$values
$ttl

deleteMultiple()

deleteMultiple(  $keys) 

Parameters

$keys

has()

has(  $key) 

Parameters

$key

clearPrefix()

clearPrefix(\Core\Common\Handler\string  $prefix) 

Parameters

\Core\Common\Handler\string $prefix

addKey()

addKey(\Core\Common\Handler\string  $collector, \Core\Common\Handler\string  $key) 

Parameters

\Core\Common\Handler\string $collector
\Core\Common\Handler\string $key

keys()

keys(\Core\Common\Handler\string  $collector) 

Parameters

\Core\Common\Handler\string $collector

delKey()

delKey(\Core\Common\Handler\string  $collector,   $key) 

Parameters

\Core\Common\Handler\string $collector
$key