return $a +
[ $prefix.'isConnected' =>
$connected,
$prefix.'host' =>
$c->
getHost(),
$prefix.'port' =>
$c->
getPort(),
$prefix.'auth' =>
$c->
getAuth(),
$prefix.'mode' =>
isset(self::MODES
[$mode]) ?
new ConstStub(self::MODES
[$mode],
$mode) :
$mode,
$prefix.'dbNum' =>
$c->
getDbNum(),
$prefix.'timeout' =>
$c->
getTimeout(),
$prefix.'lastError' =>
$c->
getLastError(),
$prefix.'persistentId' =>
$c->
getPersistentID(),
$prefix.'options' => self::
getRedisOptions($c),
];
} /**
* @return array
*/
public static function castRedisArray(\RedisArray
$c, array
$a, Stub
$stub, bool
$isNested) { $prefix = Caster::PREFIX_VIRTUAL;
return $a +
[