/**
* @return array
*/
public static function castRedisArray(\RedisArray
$c, array
$a, Stub
$stub, bool
$isNested) { $prefix = Caster::PREFIX_VIRTUAL;
return $a +
[ $prefix.'hosts' =>
$c->
_hosts(),
$prefix.'function' => ClassStub::
wrapCallable($c->
_function()),
$prefix.'lastError' =>
$c->
getLastError(),
$prefix.'options' => self::
getRedisOptions($c),
];
} /**
* @return array
*/
public static function castRedisCluster(\RedisCluster
$c, array
$a, Stub
$stub, bool
$isNested) { $prefix = Caster::PREFIX_VIRTUAL;