if ($this->redis instanceof \Predis\ClientInterface
) { return $this->redis->
eval(...
array_merge([$script, 1,
$resource],
$args));
} throw new InvalidArgumentException(sprintf('"%s()" expects being initialized with a Redis, Relay, RedisArray, RedisCluster or Predis\ClientInterface, "%s" given.', __METHOD__,
get_debug_type($this->redis
)));
} private function getUniqueToken(Key
$key): string
{ if (!
$key->
hasState(__CLASS__
)) { $token =
base64_encode(random_bytes(32
));
$key->
setState(__CLASS__,
$token);
} return $key->
getState(__CLASS__
);
}}