<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Cache\Traits;

use Symfony\Component\VarExporter\LazyObjectInterface;
use Symfony\Component\VarExporter\LazyProxyTrait;
use Symfony\Contracts\Service\ResetInterface;

// Help opcache.preload discover always-needed symbols
class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class);
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class);
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);

/**
 * @internal
 */
class Redis6Proxy extends \Redis implements ResetInterface, LazyObjectInterface
{
    use LazyProxyTrait {
        resetLazyObject as reset;
    }

    private const LAZY_OBJECT_PROPERTY_SCOPES = [
        'lazyObjectReal' => [self::class, 'lazyObjectReal', null],
        "\0".self::class."\0lazyObjectReal" => [self::class, 'lazyObjectReal', null],
    ];

    public function __construct($options = null)
    {
        return $this->lazyObjectReal->__construct(...\func_get_args());
    }

    public function _compress($value): string
    {
        return $this->lazyObjectReal->_compress(...\func_get_args());
    }

    public function _uncompress($value): string
    {
        return $this->lazyObjectReal->_uncompress(...\func_get_args());
    }

    public function _prefix($key): string
    {
        return $this->lazyObjectReal->_prefix(...\func_get_args());
    }

    public function _serialize($value): string
    {
        return $this->lazyObjectReal->_serialize(...\func_get_args());
    }

    public function _unserialize($value): mixed
    {
        return $this->lazyObjectReal->_unserialize(...\func_get_args());
    }

    public function _pack($value): string
    {
        return $this->lazyObjectReal->_pack(...\func_get_args());
    }

    public function _unpack($value): mixed
    {
        return $this->lazyObjectReal->_unpack(...\func_get_args());
    }

    public function acl($subcmd, ...$args): mixed
    {
        return $this->lazyObjectReal->acl(...\func_get_args());
    }

    public function append($key, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->append(...\func_get_args());
    }

    public function auth(#[\SensitiveParameter] $credentials): \Redis|bool
    {
        return $this->lazyObjectReal->auth(...\func_get_args());
    }

    public function bgSave(): \Redis|bool
    {
        return $this->lazyObjectReal->bgSave(...\func_get_args());
    }

    public function bgrewriteaof(): \Redis|bool
    {
        return $this->lazyObjectReal->bgrewriteaof(...\func_get_args());
    }

    public function bitcount($key, $start = 0, $end = -1, $bybit = false): \Redis|false|int
    {
        return $this->lazyObjectReal->bitcount(...\func_get_args());
    }

    public function bitop($operation, $deskey, $srckey, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->bitop(...\func_get_args());
    }

    public function bitpos($key, $bit, $start = 0, $end = -1, $bybit = false): \Redis|false|int
    {
        return $this->lazyObjectReal->bitpos(...\func_get_args());
    }

    public function blPop($key_or_keys, $timeout_or_key, ...$extra_args): \Redis|array|false|null
    {
        return $this->lazyObjectReal->blPop(...\func_get_args());
    }

    public function brPop($key_or_keys, $timeout_or_key, ...$extra_args): \Redis|array|false|null
    {
        return $this->lazyObjectReal->brPop(...\func_get_args());
    }

    public function brpoplpush($src, $dst, $timeout): \Redis|false|string
    {
        return $this->lazyObjectReal->brpoplpush(...\func_get_args());
    }

    public function bzPopMax($key, $timeout_or_key, ...$extra_args): \Redis|array|false
    {
        return $this->lazyObjectReal->bzPopMax(...\func_get_args());
    }

    public function bzPopMin($key, $timeout_or_key, ...$extra_args): \Redis|array|false
    {
        return $this->lazyObjectReal->bzPopMin(...\func_get_args());
    }

    public function bzmpop($timeout, $keys, $from, $count = 1): \Redis|array|false|null
    {
        return $this->lazyObjectReal->bzmpop(...\func_get_args());
    }

    public function zmpop($keys, $from, $count = 1): \Redis|array|false|null
    {
        return $this->lazyObjectReal->zmpop(...\func_get_args());
    }

    public function blmpop($timeout, $keys, $from, $count = 1): \Redis|array|false|null
    {
        return $this->lazyObjectReal->blmpop(...\func_get_args());
    }

    public function lmpop($keys, $from, $count = 1): \Redis|array|false|null
    {
        return $this->lazyObjectReal->lmpop(...\func_get_args());
    }

    public function clearLastError(): bool
    {
        return $this->lazyObjectReal->clearLastError(...\func_get_args());
    }

    public function client($opt, ...$args): mixed
    {
        return $this->lazyObjectReal->client(...\func_get_args());
    }

    public function close(): bool
    {
        return $this->lazyObjectReal->close(...\func_get_args());
    }

    public function command($opt = null, ...$args): mixed
    {
        return $this->lazyObjectReal->command(...\func_get_args());
    }

    public function config($operation, $key_or_settings = null, $value = null): mixed
    {
        return $this->lazyObjectReal->config(...\func_get_args());
    }

    public function connect($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, $context = null): bool
    {
        return $this->lazyObjectReal->connect(...\func_get_args());
    }

    public function copy($src, $dst, $options = null): \Redis|bool
    {
        return $this->lazyObjectReal->copy(...\func_get_args());
    }

    public function dbSize(): \Redis|false|int
    {
        return $this->lazyObjectReal->dbSize(...\func_get_args());
    }

    public function debug($key): \Redis|string
    {
        return $this->lazyObjectReal->debug(...\func_get_args());
    }

    public function decr($key, $by = 1): \Redis|false|int
    {
        return $this->lazyObjectReal->decr(...\func_get_args());
    }

    public function decrBy($key, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->decrBy(...\func_get_args());
    }

    public function del($key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->del(...\func_get_args());
    }

    public function delete($key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->delete(...\func_get_args());
    }

    public function discard(): \Redis|bool
    {
        return $this->lazyObjectReal->discard(...\func_get_args());
    }

    public function dump($key): \Redis|string
    {
        return $this->lazyObjectReal->dump(...\func_get_args());
    }

    public function echo($str): \Redis|false|string
    {
        return $this->lazyObjectReal->echo(...\func_get_args());
    }

    public function eval($script, $args = [], $num_keys = 0): mixed
    {
        return $this->lazyObjectReal->eval(...\func_get_args());
    }

    public function eval_ro($script_sha, $args = [], $num_keys = 0): mixed
    {
        return $this->lazyObjectReal->eval_ro(...\func_get_args());
    }

    public function evalsha($sha1, $args = [], $num_keys = 0): mixed
    {
        return $this->lazyObjectReal->evalsha(...\func_get_args());
    }

    public function evalsha_ro($sha1, $args = [], $num_keys = 0): mixed
    {
        return $this->lazyObjectReal->evalsha_ro(...\func_get_args());
    }

    public function exec(): \Redis|array|false
    {
        return $this->lazyObjectReal->exec(...\func_get_args());
    }

    public function exists($key, ...$other_keys): \Redis|bool|int
    {
        return $this->lazyObjectReal->exists(...\func_get_args());
    }

    public function expire($key, $timeout, $mode = null): \Redis|bool
    {
        return $this->lazyObjectReal->expire(...\func_get_args());
    }

    public function expireAt($key, $timestamp, $mode = null): \Redis|bool
    {
        return $this->lazyObjectReal->expireAt(...\func_get_args());
    }

    public function failover($to = null, $abort = false, $timeout = 0): \Redis|bool
    {
        return $this->lazyObjectReal->failover(...\func_get_args());
    }

    public function expiretime($key): \Redis|false|int
    {
        return $this->lazyObjectReal->expiretime(...\func_get_args());
    }

    public function pexpiretime($key): \Redis|false|int
    {
        return $this->lazyObjectReal->pexpiretime(...\func_get_args());
    }

    public function flushAll($sync = null): \Redis|bool
    {
        return $this->lazyObjectReal->flushAll(...\func_get_args());
    }

    public function flushDB($sync = null): \Redis|bool
    {
        return $this->lazyObjectReal->flushDB(...\func_get_args());
    }

    public function geoadd($key, $lng, $lat, $member, ...$other_triples_and_options): \Redis|false|int
    {
        return $this->lazyObjectReal->geoadd(...\func_get_args());
    }

    public function geodist($key, $src, $dst, $unit = null): \Redis|false|float
    {
        return $this->lazyObjectReal->geodist(...\func_get_args());
    }

    public function geohash($key, $member, ...$other_members): \Redis|array|false
    {
        return $this->lazyObjectReal->geohash(...\func_get_args());
    }

    public function geopos($key, $member, ...$other_members): \Redis|array|false
    {
        return $this->lazyObjectReal->geopos(...\func_get_args());
    }

    public function georadius($key, $lng, $lat, $radius, $unit, $options = []): mixed
    {
        return $this->lazyObjectReal->georadius(...\func_get_args());
    }

    public function georadius_ro($key, $lng, $lat, $radius, $unit, $options = []): mixed
    {
        return $this->lazyObjectReal->georadius_ro(...\func_get_args());
    }

    public function georadiusbymember($key, $member, $radius, $unit, $options = []): mixed
    {
        return $this->lazyObjectReal->georadiusbymember(...\func_get_args());
    }

    public function georadiusbymember_ro($key, $member, $radius, $unit, $options = []): mixed
    {
        return $this->lazyObjectReal->georadiusbymember_ro(...\func_get_args());
    }

    public function geosearch($key, $position, $shape, $unit, $options = []): array
    {
        return $this->lazyObjectReal->geosearch(...\func_get_args());
    }

    public function geosearchstore($dst, $src, $position, $shape, $unit, $options = []): \Redis|array|false|int
    {
        return $this->lazyObjectReal->geosearchstore(...\func_get_args());
    }

    public function get($key): mixed
    {
        return $this->lazyObjectReal->get(...\func_get_args());
    }

    public function getAuth(): mixed
    {
        return $this->lazyObjectReal->getAuth(...\func_get_args());
    }

    public function getBit($key, $idx): \Redis|false|int
    {
        return $this->lazyObjectReal->getBit(...\func_get_args());
    }

    public function getEx($key, $options = []): \Redis|bool|string
    {
        return $this->lazyObjectReal->getEx(...\func_get_args());
    }

    public function getDBNum(): int
    {
        return $this->lazyObjectReal->getDBNum(...\func_get_args());
    }

    public function getDel($key): \Redis|bool|string
    {
        return $this->lazyObjectReal->getDel(...\func_get_args());
    }

    public function getHost(): string
    {
        return $this->lazyObjectReal->getHost(...\func_get_args());
    }

    public function getLastError(): ?string
    {
        return $this->lazyObjectReal->getLastError(...\func_get_args());
    }

    public function getMode(): int
    {
        return $this->lazyObjectReal->getMode(...\func_get_args());
    }

    public function getOption($option): mixed
    {
        return $this->lazyObjectReal->getOption(...\func_get_args());
    }

    public function getPersistentID(): ?string
    {
        return $this->lazyObjectReal->getPersistentID(...\func_get_args());
    }

    public function getPort(): int
    {
        return $this->lazyObjectReal->getPort(...\func_get_args());
    }

    public function getRange($key, $start, $end): \Redis|false|string
    {
        return $this->lazyObjectReal->getRange(...\func_get_args());
    }

    public function lcs($key1, $key2, $options = null): \Redis|array|false|int|string
    {
        return $this->lazyObjectReal->lcs(...\func_get_args());
    }

    public function getReadTimeout(): float
    {
        return $this->lazyObjectReal->getReadTimeout(...\func_get_args());
    }

    public function getset($key, $value): \Redis|false|string
    {
        return $this->lazyObjectReal->getset(...\func_get_args());
    }

    public function getTimeout(): false|float
    {
        return $this->lazyObjectReal->getTimeout(...\func_get_args());
    }

    public function getTransferredBytes(): array
    {
        return $this->lazyObjectReal->getTransferredBytes(...\func_get_args());
    }

    public function clearTransferredBytes(): void
    {
        $this->lazyObjectReal->clearTransferredBytes(...\func_get_args());
    }

    public function hDel($key, $field, ...$other_fields): \Redis|false|int
    {
        return $this->lazyObjectReal->hDel(...\func_get_args());
    }

    public function hExists($key, $field): \Redis|bool
    {
        return $this->lazyObjectReal->hExists(...\func_get_args());
    }

    public function hGet($key, $member): mixed
    {
        return $this->lazyObjectReal->hGet(...\func_get_args());
    }

    public function hGetAll($key): \Redis|array|false
    {
        return $this->lazyObjectReal->hGetAll(...\func_get_args());
    }

    public function hIncrBy($key, $field, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->hIncrBy(...\func_get_args());
    }

    public function hIncrByFloat($key, $field, $value): \Redis|false|float
    {
        return $this->lazyObjectReal->hIncrByFloat(...\func_get_args());
    }

    public function hKeys($key): \Redis|array|false
    {
        return $this->lazyObjectReal->hKeys(...\func_get_args());
    }

    public function hLen($key): \Redis|false|int
    {
        return $this->lazyObjectReal->hLen(...\func_get_args());
    }

    public function hMget($key, $fields): \Redis|array|false
    {
        return $this->lazyObjectReal->hMget(...\func_get_args());
    }

    public function hMset($key, $fieldvals): \Redis|bool
    {
        return $this->lazyObjectReal->hMset(...\func_get_args());
    }

    public function hRandField($key, $options = null): \Redis|array|string
    {
        return $this->lazyObjectReal->hRandField(...\func_get_args());
    }

    public function hSet($key, $member, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->hSet(...\func_get_args());
    }

    public function hSetNx($key, $field, $value): \Redis|bool
    {
        return $this->lazyObjectReal->hSetNx(...\func_get_args());
    }

    public function hStrLen($key, $field): \Redis|false|int
    {
        return $this->lazyObjectReal->hStrLen(...\func_get_args());
    }

    public function hVals($key): \Redis|array|false
    {
        return $this->lazyObjectReal->hVals(...\func_get_args());
    }

    public function hscan($key, &$iterator, $pattern = null, $count = 0): \Redis|array|bool
    {
        return $this->lazyObjectReal->hscan(...\func_get_args());
    }

    public function incr($key, $by = 1): \Redis|false|int
    {
        return $this->lazyObjectReal->incr(...\func_get_args());
    }

    public function incrBy($key, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->incrBy(...\func_get_args());
    }

    public function incrByFloat($key, $value): \Redis|false|float
    {
        return $this->lazyObjectReal->incrByFloat(...\func_get_args());
    }

    public function info(...$sections): \Redis|array|false
    {
        return $this->lazyObjectReal->info(...\func_get_args());
    }

    public function isConnected(): bool
    {
        return $this->lazyObjectReal->isConnected(...\func_get_args());
    }

    public function keys($pattern)
    {
        return $this->lazyObjectReal->keys(...\func_get_args());
    }

    public function lInsert($key, $pos, $pivot, $value)
    {
        return $this->lazyObjectReal->lInsert(...\func_get_args());
    }

    public function lLen($key): \Redis|false|int
    {
        return $this->lazyObjectReal->lLen(...\func_get_args());
    }

    public function lMove($src, $dst, $wherefrom, $whereto): \Redis|false|string
    {
        return $this->lazyObjectReal->lMove(...\func_get_args());
    }

    public function blmove($src, $dst, $wherefrom, $whereto, $timeout): \Redis|false|string
    {
        return $this->lazyObjectReal->blmove(...\func_get_args());
    }

    public function lPop($key, $count = 0): \Redis|array|bool|string
    {
        return $this->lazyObjectReal->lPop(...\func_get_args());
    }

    public function lPos($key, $value, $options = null): \Redis|array|bool|int|null
    {
        return $this->lazyObjectReal->lPos(...\func_get_args());
    }

    public function lPush($key, ...$elements): \Redis|false|int
    {
        return $this->lazyObjectReal->lPush(...\func_get_args());
    }

    public function rPush($key, ...$elements): \Redis|false|int
    {
        return $this->lazyObjectReal->rPush(...\func_get_args());
    }

    public function lPushx($key, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->lPushx(...\func_get_args());
    }

    public function rPushx($key, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->rPushx(...\func_get_args());
    }

    public function lSet($key, $index, $value): \Redis|bool
    {
        return $this->lazyObjectReal->lSet(...\func_get_args());
    }

    public function lastSave(): int
    {
        return $this->lazyObjectReal->lastSave(...\func_get_args());
    }

    public function lindex($key, $index): mixed
    {
        return $this->lazyObjectReal->lindex(...\func_get_args());
    }

    public function lrange($key, $start, $end): \Redis|array|false
    {
        return $this->lazyObjectReal->lrange(...\func_get_args());
    }

    public function lrem($key, $value, $count = 0): \Redis|false|int
    {
        return $this->lazyObjectReal->lrem(...\func_get_args());
    }

    public function ltrim($key, $start, $end): \Redis|bool
    {
        return $this->lazyObjectReal->ltrim(...\func_get_args());
    }

    public function mget($keys): \Redis|array
    {
        return $this->lazyObjectReal->mget(...\func_get_args());
    }

    public function migrate($host, $port, $key, $dstdb, $timeout, $copy = false, $replace = false, #[\SensitiveParameter] $credentials = null): \Redis|bool
    {
        return $this->lazyObjectReal->migrate(...\func_get_args());
    }

    public function move($key, $index): \Redis|bool
    {
        return $this->lazyObjectReal->move(...\func_get_args());
    }

    public function mset($key_values): \Redis|bool
    {
        return $this->lazyObjectReal->mset(...\func_get_args());
    }

    public function msetnx($key_values): \Redis|bool
    {
        return $this->lazyObjectReal->msetnx(...\func_get_args());
    }

    public function multi($value = \Redis::MULTI): \Redis|bool
    {
        return $this->lazyObjectReal->multi(...\func_get_args());
    }

    public function object($subcommand, $key): \Redis|false|int|string
    {
        return $this->lazyObjectReal->object(...\func_get_args());
    }

    public function open($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, $context = null): bool
    {
        return $this->lazyObjectReal->open(...\func_get_args());
    }

    public function pconnect($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, $context = null): bool
    {
        return $this->lazyObjectReal->pconnect(...\func_get_args());
    }

    public function persist($key): \Redis|bool
    {
        return $this->lazyObjectReal->persist(...\func_get_args());
    }

    public function pexpire($key, $timeout, $mode = null): bool
    {
        return $this->lazyObjectReal->pexpire(...\func_get_args());
    }

    public function pexpireAt($key, $timestamp, $mode = null): \Redis|bool
    {
        return $this->lazyObjectReal->pexpireAt(...\func_get_args());
    }

    public function pfadd($key, $elements): \Redis|int
    {
        return $this->lazyObjectReal->pfadd(...\func_get_args());
    }

    public function pfcount($key): \Redis|int
    {
        return $this->lazyObjectReal->pfcount(...\func_get_args());
    }

    public function pfmerge($dst, $srckeys): \Redis|bool
    {
        return $this->lazyObjectReal->pfmerge(...\func_get_args());
    }

    public function ping($message = null): \Redis|bool|string
    {
        return $this->lazyObjectReal->ping(...\func_get_args());
    }

    public function pipeline(): \Redis|bool
    {
        return $this->lazyObjectReal->pipeline(...\func_get_args());
    }

    public function popen($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, $context = null): bool
    {
        return $this->lazyObjectReal->popen(...\func_get_args());
    }

    public function psetex($key, $expire, $value): \Redis|bool
    {
        return $this->lazyObjectReal->psetex(...\func_get_args());
    }

    public function psubscribe($patterns, $cb): bool
    {
        return $this->lazyObjectReal->psubscribe(...\func_get_args());
    }

    public function pttl($key): \Redis|false|int
    {
        return $this->lazyObjectReal->pttl(...\func_get_args());
    }

    public function publish($channel, $message): \Redis|false|int
    {
        return $this->lazyObjectReal->publish(...\func_get_args());
    }

    public function pubsub($command, $arg = null): mixed
    {
        return $this->lazyObjectReal->pubsub(...\func_get_args());
    }

    public function punsubscribe($patterns): \Redis|array|bool
    {
        return $this->lazyObjectReal->punsubscribe(...\func_get_args());
    }

    public function rPop($key, $count = 0): \Redis|array|bool|string
    {
        return $this->lazyObjectReal->rPop(...\func_get_args());
    }

    public function randomKey(): \Redis|false|string
    {
        return $this->lazyObjectReal->randomKey(...\func_get_args());
    }

    public function rawcommand($command, ...$args): mixed
    {
        return $this->lazyObjectReal->rawcommand(...\func_get_args());
    }

    public function rename($old_name, $new_name): \Redis|bool
    {
        return $this->lazyObjectReal->rename(...\func_get_args());
    }

    public function renameNx($key_src, $key_dst): \Redis|bool
    {
        return $this->lazyObjectReal->renameNx(...\func_get_args());
    }

    public function restore($key, $ttl, $value, $options = null): \Redis|bool
    {
        return $this->lazyObjectReal->restore(...\func_get_args());
    }

    public function role(): mixed
    {
        return $this->lazyObjectReal->role(...\func_get_args());
    }

    public function rpoplpush($srckey, $dstkey): \Redis|false|string
    {
        return $this->lazyObjectReal->rpoplpush(...\func_get_args());
    }

    public function sAdd($key, $value, ...$other_values): \Redis|false|int
    {
        return $this->lazyObjectReal->sAdd(...\func_get_args());
    }

    public function sAddArray($key, $values): int
    {
        return $this->lazyObjectReal->sAddArray(...\func_get_args());
    }

    public function sDiff($key, ...$other_keys): \Redis|array|false
    {
        return $this->lazyObjectReal->sDiff(...\func_get_args());
    }

    public function sDiffStore($dst, $key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->sDiffStore(...\func_get_args());
    }

    public function sInter($key, ...$other_keys): \Redis|array|false
    {
        return $this->lazyObjectReal->sInter(...\func_get_args());
    }

    public function sintercard($keys, $limit = -1): \Redis|false|int
    {
        return $this->lazyObjectReal->sintercard(...\func_get_args());
    }

    public function sInterStore($key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->sInterStore(...\func_get_args());
    }

    public function sMembers($key): \Redis|array|false
    {
        return $this->lazyObjectReal->sMembers(...\func_get_args());
    }

    public function sMisMember($key, $member, ...$other_members): \Redis|array|false
    {
        return $this->lazyObjectReal->sMisMember(...\func_get_args());
    }

    public function sMove($src, $dst, $value): \Redis|bool
    {
        return $this->lazyObjectReal->sMove(...\func_get_args());
    }

    public function sPop($key, $count = 0): \Redis|array|false|string
    {
        return $this->lazyObjectReal->sPop(...\func_get_args());
    }

    public function sRandMember($key, $count = 0): \Redis|array|false|string
    {
        return $this->lazyObjectReal->sRandMember(...\func_get_args());
    }

    public function sUnion($key, ...$other_keys): \Redis|array|false
    {
        return $this->lazyObjectReal->sUnion(...\func_get_args());
    }

    public function sUnionStore($dst, $key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->sUnionStore(...\func_get_args());
    }

    public function save(): \Redis|bool
    {
        return $this->lazyObjectReal->save(...\func_get_args());
    }

    public function scan(&$iterator, $pattern = null, $count = 0, $type = null): array|false
    {
        return $this->lazyObjectReal->scan(...\func_get_args());
    }

    public function scard($key): \Redis|false|int
    {
        return $this->lazyObjectReal->scard(...\func_get_args());
    }

    public function script($command, ...$args): mixed
    {
        return $this->lazyObjectReal->script(...\func_get_args());
    }

    public function select($db): \Redis|bool
    {
        return $this->lazyObjectReal->select(...\func_get_args());
    }

    public function set($key, $value, $options = null): \Redis|bool|string
    {
        return $this->lazyObjectReal->set(...\func_get_args());
    }

    public function setBit($key, $idx, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->setBit(...\func_get_args());
    }

    public function setRange($key, $index, $value): \Redis|false|int
    {
        return $this->lazyObjectReal->setRange(...\func_get_args());
    }

    public function setOption($option, $value): bool
    {
        return $this->lazyObjectReal->setOption(...\func_get_args());
    }

    public function setex($key, $expire, $value)
    {
        return $this->lazyObjectReal->setex(...\func_get_args());
    }

    public function setnx($key, $value): \Redis|bool
    {
        return $this->lazyObjectReal->setnx(...\func_get_args());
    }

    public function sismember($key, $value): \Redis|bool
    {
        return $this->lazyObjectReal->sismember(...\func_get_args());
    }

    public function slaveof($host = null, $port = 6379): \Redis|bool
    {
        return $this->lazyObjectReal->slaveof(...\func_get_args());
    }

    public function replicaof($host = null, $port = 6379): \Redis|bool
    {
        return $this->lazyObjectReal->replicaof(...\func_get_args());
    }

    public function touch($key_or_array, ...$more_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->touch(...\func_get_args());
    }

    public function slowlog($operation, $length = 0): mixed
    {
        return $this->lazyObjectReal->slowlog(...\func_get_args());
    }

    public function sort($key, $options = null): mixed
    {
        return $this->lazyObjectReal->sort(...\func_get_args());
    }

    public function sort_ro($key, $options = null): mixed
    {
        return $this->lazyObjectReal->sort_ro(...\func_get_args());
    }

    public function sortAsc($key, $pattern = null, $get = null, $offset = -1, $count = -1, $store = null): array
    {
        return $this->lazyObjectReal->sortAsc(...\func_get_args());
    }

    public function sortAscAlpha($key, $pattern = null, $get = null, $offset = -1, $count = -1, $store = null): array
    {
        return $this->lazyObjectReal->sortAscAlpha(...\func_get_args());
    }

    public function sortDesc($key, $pattern = null, $get = null, $offset = -1, $count = -1, $store = null): array
    {
        return $this->lazyObjectReal->sortDesc(...\func_get_args());
    }

    public function sortDescAlpha($key, $pattern = null, $get = null, $offset = -1, $count = -1, $store = null): array
    {
        return $this->lazyObjectReal->sortDescAlpha(...\func_get_args());
    }

    public function srem($key, $value, ...$other_values): \Redis|false|int
    {
        return $this->lazyObjectReal->srem(...\func_get_args());
    }

    public function sscan($key, &$iterator, $pattern = null, $count = 0): array|false
    {
        return $this->lazyObjectReal->sscan(...\func_get_args());
    }

    public function ssubscribe($channels, $cb): bool
    {
        return $this->lazyObjectReal->ssubscribe(...\func_get_args());
    }

    public function strlen($key): \Redis|false|int
    {
        return $this->lazyObjectReal->strlen(...\func_get_args());
    }

    public function subscribe($channels, $cb): bool
    {
        return $this->lazyObjectReal->subscribe(...\func_get_args());
    }

    public function sunsubscribe($channels): \Redis|array|bool
    {
        return $this->lazyObjectReal->sunsubscribe(...\func_get_args());
    }

    public function swapdb($src, $dst): \Redis|bool
    {
        return $this->lazyObjectReal->swapdb(...\func_get_args());
    }

    public function time(): \Redis|array
    {
        return $this->lazyObjectReal->time(...\func_get_args());
    }

    public function ttl($key): \Redis|false|int
    {
        return $this->lazyObjectReal->ttl(...\func_get_args());
    }

    public function type($key): \Redis|false|int
    {
        return $this->lazyObjectReal->type(...\func_get_args());
    }

    public function unlink($key, ...$other_keys): \Redis|false|int
    {
        return $this->lazyObjectReal->unlink(...\func_get_args());
    }

    public function unsubscribe($channels): \Redis|array|bool
    {
        return $this->lazyObjectReal->unsubscribe(...\func_get_args());
    }

    public function unwatch(): \Redis|bool
    {
        return $this->lazyObjectReal->unwatch(...\func_get_args());
    }

    public function watch($key, ...$other_keys): \Redis|bool
    {
        return $this->lazyObjectReal->watch(...\func_get_args());
    }

    public function wait($numreplicas, $timeout): false|int
    {
        return $this->lazyObjectReal->wait(...\func_get_args());
    }

    public function xack($key, $group, $ids): false|int
    {
        return $this->lazyObjectReal->xack(...\func_get_args());
    }

    public function xadd($key, $id, $values, $maxlen = 0, $approx = false, $nomkstream = false): \Redis|false|string
    {
        return $this->lazyObjectReal->xadd(...\func_get_args());
    }

    public function xautoclaim($key, $group, $consumer, $min_idle, $start, $count = -1, $justid = false): \Redis|array|bool
    {
        return $this->lazyObjectReal->xautoclaim(...\func_get_args());
    }

    public function xclaim($key, $group, $consumer, $min_idle, $ids, $options): \Redis|array|bool
    {
        return $this->lazyObjectReal->xclaim(...\func_get_args());
    }

    public function xdel($key, $ids): \Redis|false|int
    {
        return $this->lazyObjectReal->xdel(...\func_get_args());
    }

    public function xgroup($operation, $key = null, $group = null, $id_or_consumer = null, $mkstream = false, $entries_read = -2): mixed
    {
        return $this->lazyObjectReal->xgroup(...\func_get_args());
    }

    public function xinfo($operation, $arg1 = null, $arg2 = null, $count = -1): mixed
    {
        return $this->lazyObjectReal->xinfo(...\func_get_args());
    }

    public function xlen($key): \Redis|false|int
    {
        return $this->lazyObjectReal->xlen(...\func_get_args());
    }

    public function xpending($key, $group, $start = null, $end = null, $count = -1, $consumer = null): \Redis|array|false
    {
        return $this->lazyObjectReal->xpending(...\func_get_args());
    }

    public function xrange($key, $start, $end, $count = -1): \Redis|array|bool
    {
        return $this->lazyObjectReal->xrange(...\func_get_args());
    }

    public function xread($streams, $count = -1, $block = -1): \Redis|array|bool
    {
        return $this->lazyObjectReal->xread(...\func_get_args());
    }

    public function xreadgroup($group, $consumer, $streams, $count = 1, $block = 1): \Redis|array|bool
    {
        return $this->lazyObjectReal->xreadgroup(...\func_get_args());
    }

    public function xrevrange($key, $end, $start, $count = -1): \Redis|array|bool
    {
        return $this->lazyObjectReal->xrevrange(...\func_get_args());
    }

    public function xtrim($key, $threshold, $approx = false, $minid = false, $limit = -1): \Redis|false|int
    {
        return $this->lazyObjectReal->xtrim(...\func_get_args());
    }

    public function zAdd($key, $score_or_options, ...$more_scores_and_mems): \Redis|false|int
    {
        return $this->lazyObjectReal->zAdd(...\func_get_args());
    }

    public function zCard($key): \Redis|false|int
    {
        return $this->lazyObjectReal->zCard(...\func_get_args());
    }

    public function zCount($key, $start, $end): \Redis|false|int
    {
        return $this->lazyObjectReal->zCount(...\func_get_args());
    }

    public function zIncrBy($key, $value, $member): \Redis|false|float
    {
        return $this->lazyObjectReal->zIncrBy(...\func_get_args());
    }

    public function zLexCount($key, $min, $max): \Redis|false|int
    {
        return $this->lazyObjectReal->zLexCount(...\func_get_args());
    }

    public function zMscore($key, $member, ...$other_members): \Redis|array|false
    {
        return $this->lazyObjectReal->zMscore(...\func_get_args());
    }

    public function zPopMax($key, $count = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zPopMax(...\func_get_args());
    }

    public function zPopMin($key, $count = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zPopMin(...\func_get_args());
    }

    public function zRange($key, $start, $end, $options = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zRange(...\func_get_args());
    }

    public function zRangeByLex($key, $min, $max, $offset = -1, $count = -1): \Redis|array|false
    {
        return $this->lazyObjectReal->zRangeByLex(...\func_get_args());
    }

    public function zRangeByScore($key, $start, $end, $options = []): \Redis|array|false
    {
        return $this->lazyObjectReal->zRangeByScore(...\func_get_args());
    }

    public function zrangestore($dstkey, $srckey, $start, $end, $options = null): \Redis|false|int
    {
        return $this->lazyObjectReal->zrangestore(...\func_get_args());
    }

    public function zRandMember($key, $options = null): \Redis|array|string
    {
        return $this->lazyObjectReal->zRandMember(...\func_get_args());
    }

    public function zRank($key, $member): \Redis|false|int
    {
        return $this->lazyObjectReal->zRank(...\func_get_args());
    }

    public function zRem($key, $member, ...$other_members): \Redis|false|int
    {
        return $this->lazyObjectReal->zRem(...\func_get_args());
    }

    public function zRemRangeByLex($key, $min, $max): \Redis|false|int
    {
        return $this->lazyObjectReal->zRemRangeByLex(...\func_get_args());
    }

    public function zRemRangeByRank($key, $start, $end): \Redis|false|int
    {
        return $this->lazyObjectReal->zRemRangeByRank(...\func_get_args());
    }

    public function zRemRangeByScore($key, $start, $end): \Redis|false|int
    {
        return $this->lazyObjectReal->zRemRangeByScore(...\func_get_args());
    }

    public function zRevRange($key, $start, $end, $scores = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zRevRange(...\func_get_args());
    }

    public function zRevRangeByLex($key, $max, $min, $offset = -1, $count = -1): \Redis|array|false
    {
        return $this->lazyObjectReal->zRevRangeByLex(...\func_get_args());
    }

    public function zRevRangeByScore($key, $max, $min, $options = []): \Redis|array|false
    {
        return $this->lazyObjectReal->zRevRangeByScore(...\func_get_args());
    }

    public function zRevRank($key, $member): \Redis|false|int
    {
        return $this->lazyObjectReal->zRevRank(...\func_get_args());
    }

    public function zScore($key, $member): \Redis|false|float
    {
        return $this->lazyObjectReal->zScore(...\func_get_args());
    }

    public function zdiff($keys, $options = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zdiff(...\func_get_args());
    }

    public function zdiffstore($dst, $keys): \Redis|false|int
    {
        return $this->lazyObjectReal->zdiffstore(...\func_get_args());
    }

    public function zinter($keys, $weights = null, $options = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zinter(...\func_get_args());
    }

    public function zintercard($keys, $limit = -1): \Redis|false|int
    {
        return $this->lazyObjectReal->zintercard(...\func_get_args());
    }

    public function zinterstore($dst, $keys, $weights = null, $aggregate = null): \Redis|false|int
    {
        return $this->lazyObjectReal->zinterstore(...\func_get_args());
    }

    public function zscan($key, &$iterator, $pattern = null, $count = 0): \Redis|array|false
    {
        return $this->lazyObjectReal->zscan(...\func_get_args());
    }

    public function zunion($keys, $weights = null, $options = null): \Redis|array|false
    {
        return $this->lazyObjectReal->zunion(...\func_get_args());
    }

    public function zunionstore($dst, $keys, $weights = null, $aggregate = null): \Redis|false|int
    {
        return $this->lazyObjectReal->zunionstore(...\func_get_args());
    }
}
