\Symfony\Component\VarDumper\CasterRedisCaster

Casts Redis class from ext-redis to array representation.

Summary

Methods
Properties
Constants
castRedis()
castRedisArray()
castRedisCluster()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getRedisOptions()
$serializer
$mode
$compression
$failover
N/A

Properties

$serializer

$serializer

$mode

$mode

$compression

$compression

$failover

$failover

Methods

castRedis()

castRedis(\Redis  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\Redis $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castRedisArray()

castRedisArray(\RedisArray  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\RedisArray $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castRedisCluster()

castRedisCluster(\RedisCluster  $c, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\RedisCluster $c
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

getRedisOptions()

getRedisOptions(\Redis|\RedisArray|\RedisCluster  $redis, array  $options = []) : \Symfony\Component\VarDumper\Caster\EnumStub

Parameters

\Redis|\RedisArray|\RedisCluster $redis
array $options

Returns

\Symfony\Component\VarDumper\Caster\EnumStub —