diff options
Diffstat (limited to 'vendor/symfony/cache/Traits/RelayProxy.php')
| -rw-r--r-- | vendor/symfony/cache/Traits/RelayProxy.php | 1319 |
1 files changed, 1319 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Traits/RelayProxy.php b/vendor/symfony/cache/Traits/RelayProxy.php new file mode 100644 index 0000000..96d7d19 --- /dev/null +++ b/vendor/symfony/cache/Traits/RelayProxy.php | |||
| @@ -0,0 +1,1319 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | /* | ||
| 4 | * This file is part of the Symfony package. | ||
| 5 | * | ||
| 6 | * (c) Fabien Potencier <fabien@symfony.com> | ||
| 7 | * | ||
| 8 | * For the full copyright and license information, please view the LICENSE | ||
| 9 | * file that was distributed with this source code. | ||
| 10 | */ | ||
| 11 | |||
| 12 | namespace Symfony\Component\Cache\Traits; | ||
| 13 | |||
| 14 | use Symfony\Component\VarExporter\LazyObjectInterface; | ||
| 15 | use Symfony\Component\VarExporter\LazyProxyTrait; | ||
| 16 | use Symfony\Contracts\Service\ResetInterface; | ||
| 17 | |||
| 18 | // Help opcache.preload discover always-needed symbols | ||
| 19 | class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class); | ||
| 20 | class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class); | ||
| 21 | class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class); | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @internal | ||
| 25 | */ | ||
| 26 | class RelayProxy extends \Relay\Relay implements ResetInterface, LazyObjectInterface | ||
| 27 | { | ||
| 28 | use LazyProxyTrait { | ||
| 29 | resetLazyObject as reset; | ||
| 30 | } | ||
| 31 | use RelayProxyTrait; | ||
| 32 | |||
| 33 | private const LAZY_OBJECT_PROPERTY_SCOPES = []; | ||
| 34 | |||
| 35 | public function __construct($host = null, $port = 6379, $connect_timeout = 0.0, $command_timeout = 0.0, #[\SensitiveParameter] $context = [], $database = 0) | ||
| 36 | { | ||
| 37 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->__construct(...\func_get_args()); | ||
| 38 | } | ||
| 39 | |||
| 40 | public function connect($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, #[\SensitiveParameter] $context = [], $database = 0): bool | ||
| 41 | { | ||
| 42 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->connect(...\func_get_args()); | ||
| 43 | } | ||
| 44 | |||
| 45 | public function pconnect($host, $port = 6379, $timeout = 0.0, $persistent_id = null, $retry_interval = 0, $read_timeout = 0.0, #[\SensitiveParameter] $context = [], $database = 0): bool | ||
| 46 | { | ||
| 47 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pconnect(...\func_get_args()); | ||
| 48 | } | ||
| 49 | |||
| 50 | public function close(): bool | ||
| 51 | { | ||
| 52 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->close(...\func_get_args()); | ||
| 53 | } | ||
| 54 | |||
| 55 | public function pclose(): bool | ||
| 56 | { | ||
| 57 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pclose(...\func_get_args()); | ||
| 58 | } | ||
| 59 | |||
| 60 | public function listen($callback): bool | ||
| 61 | { | ||
| 62 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->listen(...\func_get_args()); | ||
| 63 | } | ||
| 64 | |||
| 65 | public function onFlushed($callback): bool | ||
| 66 | { | ||
| 67 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->onFlushed(...\func_get_args()); | ||
| 68 | } | ||
| 69 | |||
| 70 | public function onInvalidated($callback, $pattern = null): bool | ||
| 71 | { | ||
| 72 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->onInvalidated(...\func_get_args()); | ||
| 73 | } | ||
| 74 | |||
| 75 | public function dispatchEvents(): false|int | ||
| 76 | { | ||
| 77 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dispatchEvents(...\func_get_args()); | ||
| 78 | } | ||
| 79 | |||
| 80 | public function getOption($option): mixed | ||
| 81 | { | ||
| 82 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getOption(...\func_get_args()); | ||
| 83 | } | ||
| 84 | |||
| 85 | public function option($option, $value = null): mixed | ||
| 86 | { | ||
| 87 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->option(...\func_get_args()); | ||
| 88 | } | ||
| 89 | |||
| 90 | public function setOption($option, $value): bool | ||
| 91 | { | ||
| 92 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setOption(...\func_get_args()); | ||
| 93 | } | ||
| 94 | |||
| 95 | public function addIgnorePatterns(...$pattern): int | ||
| 96 | { | ||
| 97 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->addIgnorePatterns(...\func_get_args()); | ||
| 98 | } | ||
| 99 | |||
| 100 | public function addAllowPatterns(...$pattern): int | ||
| 101 | { | ||
| 102 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->addAllowPatterns(...\func_get_args()); | ||
| 103 | } | ||
| 104 | |||
| 105 | public function getTimeout(): false|float | ||
| 106 | { | ||
| 107 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getTimeout(...\func_get_args()); | ||
| 108 | } | ||
| 109 | |||
| 110 | public function timeout(): false|float | ||
| 111 | { | ||
| 112 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->timeout(...\func_get_args()); | ||
| 113 | } | ||
| 114 | |||
| 115 | public function getReadTimeout(): false|float | ||
| 116 | { | ||
| 117 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getReadTimeout(...\func_get_args()); | ||
| 118 | } | ||
| 119 | |||
| 120 | public function readTimeout(): false|float | ||
| 121 | { | ||
| 122 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->readTimeout(...\func_get_args()); | ||
| 123 | } | ||
| 124 | |||
| 125 | public function getBytes(): array | ||
| 126 | { | ||
| 127 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getBytes(...\func_get_args()); | ||
| 128 | } | ||
| 129 | |||
| 130 | public function bytes(): array | ||
| 131 | { | ||
| 132 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bytes(...\func_get_args()); | ||
| 133 | } | ||
| 134 | |||
| 135 | public function getHost(): false|string | ||
| 136 | { | ||
| 137 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getHost(...\func_get_args()); | ||
| 138 | } | ||
| 139 | |||
| 140 | public function isConnected(): bool | ||
| 141 | { | ||
| 142 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->isConnected(...\func_get_args()); | ||
| 143 | } | ||
| 144 | |||
| 145 | public function getPort(): false|int | ||
| 146 | { | ||
| 147 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getPort(...\func_get_args()); | ||
| 148 | } | ||
| 149 | |||
| 150 | public function getAuth(): mixed | ||
| 151 | { | ||
| 152 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getAuth(...\func_get_args()); | ||
| 153 | } | ||
| 154 | |||
| 155 | public function getDbNum(): mixed | ||
| 156 | { | ||
| 157 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getDbNum(...\func_get_args()); | ||
| 158 | } | ||
| 159 | |||
| 160 | public function _serialize($value): mixed | ||
| 161 | { | ||
| 162 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_serialize(...\func_get_args()); | ||
| 163 | } | ||
| 164 | |||
| 165 | public function _unserialize($value): mixed | ||
| 166 | { | ||
| 167 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unserialize(...\func_get_args()); | ||
| 168 | } | ||
| 169 | |||
| 170 | public function _compress($value): string | ||
| 171 | { | ||
| 172 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_compress(...\func_get_args()); | ||
| 173 | } | ||
| 174 | |||
| 175 | public function _uncompress($value): string | ||
| 176 | { | ||
| 177 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_uncompress(...\func_get_args()); | ||
| 178 | } | ||
| 179 | |||
| 180 | public function _pack($value): string | ||
| 181 | { | ||
| 182 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_pack(...\func_get_args()); | ||
| 183 | } | ||
| 184 | |||
| 185 | public function _unpack($value): mixed | ||
| 186 | { | ||
| 187 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unpack(...\func_get_args()); | ||
| 188 | } | ||
| 189 | |||
| 190 | public function _prefix($value): string | ||
| 191 | { | ||
| 192 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_prefix(...\func_get_args()); | ||
| 193 | } | ||
| 194 | |||
| 195 | public function getLastError(): ?string | ||
| 196 | { | ||
| 197 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getLastError(...\func_get_args()); | ||
| 198 | } | ||
| 199 | |||
| 200 | public function clearLastError(): bool | ||
| 201 | { | ||
| 202 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->clearLastError(...\func_get_args()); | ||
| 203 | } | ||
| 204 | |||
| 205 | public function endpointId(): false|string | ||
| 206 | { | ||
| 207 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->endpointId(...\func_get_args()); | ||
| 208 | } | ||
| 209 | |||
| 210 | public function getPersistentID(): false|string | ||
| 211 | { | ||
| 212 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getPersistentID(...\func_get_args()); | ||
| 213 | } | ||
| 214 | |||
| 215 | public function socketId(): false|string | ||
| 216 | { | ||
| 217 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->socketId(...\func_get_args()); | ||
| 218 | } | ||
| 219 | |||
| 220 | public function rawCommand($cmd, ...$args): mixed | ||
| 221 | { | ||
| 222 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rawCommand(...\func_get_args()); | ||
| 223 | } | ||
| 224 | |||
| 225 | public function select($db): \Relay\Relay|bool | ||
| 226 | { | ||
| 227 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->select(...\func_get_args()); | ||
| 228 | } | ||
| 229 | |||
| 230 | public function auth(#[\SensitiveParameter] $auth): bool | ||
| 231 | { | ||
| 232 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->auth(...\func_get_args()); | ||
| 233 | } | ||
| 234 | |||
| 235 | public function info(...$sections): \Relay\Relay|array|false | ||
| 236 | { | ||
| 237 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->info(...\func_get_args()); | ||
| 238 | } | ||
| 239 | |||
| 240 | public function flushdb($sync = null): \Relay\Relay|bool | ||
| 241 | { | ||
| 242 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushdb(...\func_get_args()); | ||
| 243 | } | ||
| 244 | |||
| 245 | public function flushall($sync = null): \Relay\Relay|bool | ||
| 246 | { | ||
| 247 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushall(...\func_get_args()); | ||
| 248 | } | ||
| 249 | |||
| 250 | public function fcall($name, $keys = [], $argv = [], $handler = null): mixed | ||
| 251 | { | ||
| 252 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->fcall(...\func_get_args()); | ||
| 253 | } | ||
| 254 | |||
| 255 | public function fcall_ro($name, $keys = [], $argv = [], $handler = null): mixed | ||
| 256 | { | ||
| 257 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->fcall_ro(...\func_get_args()); | ||
| 258 | } | ||
| 259 | |||
| 260 | public function function($op, ...$args): mixed | ||
| 261 | { | ||
| 262 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->function(...\func_get_args()); | ||
| 263 | } | ||
| 264 | |||
| 265 | public function dbsize(): \Relay\Relay|false|int | ||
| 266 | { | ||
| 267 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dbsize(...\func_get_args()); | ||
| 268 | } | ||
| 269 | |||
| 270 | public function dump($key): \Relay\Relay|false|string | ||
| 271 | { | ||
| 272 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dump(...\func_get_args()); | ||
| 273 | } | ||
| 274 | |||
| 275 | public function replicaof($host = null, $port = 0): \Relay\Relay|bool | ||
| 276 | { | ||
| 277 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->replicaof(...\func_get_args()); | ||
| 278 | } | ||
| 279 | |||
| 280 | public function waitaof($numlocal, $numremote, $timeout): \Relay\Relay|array|false | ||
| 281 | { | ||
| 282 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->waitaof(...\func_get_args()); | ||
| 283 | } | ||
| 284 | |||
| 285 | public function restore($key, $ttl, $value, $options = null): \Relay\Relay|bool | ||
| 286 | { | ||
| 287 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->restore(...\func_get_args()); | ||
| 288 | } | ||
| 289 | |||
| 290 | public function migrate($host, $port, $key, $dstdb, $timeout, $copy = false, $replace = false, #[\SensitiveParameter] $credentials = null): \Relay\Relay|bool | ||
| 291 | { | ||
| 292 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->migrate(...\func_get_args()); | ||
| 293 | } | ||
| 294 | |||
| 295 | public function echo($arg): \Relay\Relay|bool|string | ||
| 296 | { | ||
| 297 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->echo(...\func_get_args()); | ||
| 298 | } | ||
| 299 | |||
| 300 | public function ping($arg = null): \Relay\Relay|bool|string | ||
| 301 | { | ||
| 302 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ping(...\func_get_args()); | ||
| 303 | } | ||
| 304 | |||
| 305 | public function idleTime(): \Relay\Relay|false|int | ||
| 306 | { | ||
| 307 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->idleTime(...\func_get_args()); | ||
| 308 | } | ||
| 309 | |||
| 310 | public function randomkey(): \Relay\Relay|bool|null|string | ||
| 311 | { | ||
| 312 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->randomkey(...\func_get_args()); | ||
| 313 | } | ||
| 314 | |||
| 315 | public function time(): \Relay\Relay|array|false | ||
| 316 | { | ||
| 317 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->time(...\func_get_args()); | ||
| 318 | } | ||
| 319 | |||
| 320 | public function bgrewriteaof(): \Relay\Relay|bool | ||
| 321 | { | ||
| 322 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgrewriteaof(...\func_get_args()); | ||
| 323 | } | ||
| 324 | |||
| 325 | public function lastsave(): \Relay\Relay|false|int | ||
| 326 | { | ||
| 327 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lastsave(...\func_get_args()); | ||
| 328 | } | ||
| 329 | |||
| 330 | public function lcs($key1, $key2, $options = null): mixed | ||
| 331 | { | ||
| 332 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lcs(...\func_get_args()); | ||
| 333 | } | ||
| 334 | |||
| 335 | public function bgsave($schedule = false): \Relay\Relay|bool | ||
| 336 | { | ||
| 337 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgsave(...\func_get_args()); | ||
| 338 | } | ||
| 339 | |||
| 340 | public function save(): \Relay\Relay|bool | ||
| 341 | { | ||
| 342 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->save(...\func_get_args()); | ||
| 343 | } | ||
| 344 | |||
| 345 | public function role(): \Relay\Relay|array|false | ||
| 346 | { | ||
| 347 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->role(...\func_get_args()); | ||
| 348 | } | ||
| 349 | |||
| 350 | public function ttl($key): \Relay\Relay|false|int | ||
| 351 | { | ||
| 352 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ttl(...\func_get_args()); | ||
| 353 | } | ||
| 354 | |||
| 355 | public function pttl($key): \Relay\Relay|false|int | ||
| 356 | { | ||
| 357 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pttl(...\func_get_args()); | ||
| 358 | } | ||
| 359 | |||
| 360 | public function exists(...$keys): \Relay\Relay|bool|int | ||
| 361 | { | ||
| 362 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exists(...\func_get_args()); | ||
| 363 | } | ||
| 364 | |||
| 365 | public function eval($script, $args = [], $num_keys = 0): mixed | ||
| 366 | { | ||
| 367 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->eval(...\func_get_args()); | ||
| 368 | } | ||
| 369 | |||
| 370 | public function eval_ro($script, $args = [], $num_keys = 0): mixed | ||
| 371 | { | ||
| 372 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->eval_ro(...\func_get_args()); | ||
| 373 | } | ||
| 374 | |||
| 375 | public function evalsha($sha, $args = [], $num_keys = 0): mixed | ||
| 376 | { | ||
| 377 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evalsha(...\func_get_args()); | ||
| 378 | } | ||
| 379 | |||
| 380 | public function evalsha_ro($sha, $args = [], $num_keys = 0): mixed | ||
| 381 | { | ||
| 382 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evalsha_ro(...\func_get_args()); | ||
| 383 | } | ||
| 384 | |||
| 385 | public function client($operation, ...$args): mixed | ||
| 386 | { | ||
| 387 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->client(...\func_get_args()); | ||
| 388 | } | ||
| 389 | |||
| 390 | public function geoadd($key, $lng, $lat, $member, ...$other_triples_and_options): \Relay\Relay|false|int | ||
| 391 | { | ||
| 392 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geoadd(...\func_get_args()); | ||
| 393 | } | ||
| 394 | |||
| 395 | public function geodist($key, $src, $dst, $unit = null): \Relay\Relay|false|float | ||
| 396 | { | ||
| 397 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geodist(...\func_get_args()); | ||
| 398 | } | ||
| 399 | |||
| 400 | public function geohash($key, $member, ...$other_members): \Relay\Relay|array|false | ||
| 401 | { | ||
| 402 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geohash(...\func_get_args()); | ||
| 403 | } | ||
| 404 | |||
| 405 | public function georadius($key, $lng, $lat, $radius, $unit, $options = []): mixed | ||
| 406 | { | ||
| 407 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius(...\func_get_args()); | ||
| 408 | } | ||
| 409 | |||
| 410 | public function georadiusbymember($key, $member, $radius, $unit, $options = []): mixed | ||
| 411 | { | ||
| 412 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember(...\func_get_args()); | ||
| 413 | } | ||
| 414 | |||
| 415 | public function georadiusbymember_ro($key, $member, $radius, $unit, $options = []): mixed | ||
| 416 | { | ||
| 417 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember_ro(...\func_get_args()); | ||
| 418 | } | ||
| 419 | |||
| 420 | public function georadius_ro($key, $lng, $lat, $radius, $unit, $options = []): mixed | ||
| 421 | { | ||
| 422 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius_ro(...\func_get_args()); | ||
| 423 | } | ||
| 424 | |||
| 425 | public function geosearch($key, $position, $shape, $unit, $options = []): \Relay\Relay|array | ||
| 426 | { | ||
| 427 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geosearch(...\func_get_args()); | ||
| 428 | } | ||
| 429 | |||
| 430 | public function geosearchstore($dst, $src, $position, $shape, $unit, $options = []): \Relay\Relay|false|int | ||
| 431 | { | ||
| 432 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geosearchstore(...\func_get_args()); | ||
| 433 | } | ||
| 434 | |||
| 435 | public function get($key): mixed | ||
| 436 | { | ||
| 437 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->get(...\func_get_args()); | ||
| 438 | } | ||
| 439 | |||
| 440 | public function getset($key, $value): mixed | ||
| 441 | { | ||
| 442 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getset(...\func_get_args()); | ||
| 443 | } | ||
| 444 | |||
| 445 | public function getrange($key, $start, $end): \Relay\Relay|false|string | ||
| 446 | { | ||
| 447 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getrange(...\func_get_args()); | ||
| 448 | } | ||
| 449 | |||
| 450 | public function setrange($key, $start, $value): \Relay\Relay|false|int | ||
| 451 | { | ||
| 452 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setrange(...\func_get_args()); | ||
| 453 | } | ||
| 454 | |||
| 455 | public function getbit($key, $pos): \Relay\Relay|false|int | ||
| 456 | { | ||
| 457 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getbit(...\func_get_args()); | ||
| 458 | } | ||
| 459 | |||
| 460 | public function bitcount($key, $start = 0, $end = -1, $by_bit = false): \Relay\Relay|false|int | ||
| 461 | { | ||
| 462 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args()); | ||
| 463 | } | ||
| 464 | |||
| 465 | public function bitfield($key, ...$args): \Relay\Relay|array|false | ||
| 466 | { | ||
| 467 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitfield(...\func_get_args()); | ||
| 468 | } | ||
| 469 | |||
| 470 | public function config($operation, $key = null, $value = null): \Relay\Relay|array|bool | ||
| 471 | { | ||
| 472 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args()); | ||
| 473 | } | ||
| 474 | |||
| 475 | public function command(...$args): \Relay\Relay|array|false|int | ||
| 476 | { | ||
| 477 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->command(...\func_get_args()); | ||
| 478 | } | ||
| 479 | |||
| 480 | public function bitop($operation, $dstkey, $srckey, ...$other_keys): \Relay\Relay|false|int | ||
| 481 | { | ||
| 482 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitop(...\func_get_args()); | ||
| 483 | } | ||
| 484 | |||
| 485 | public function bitpos($key, $bit, $start = null, $end = null, $bybit = false): \Relay\Relay|false|int | ||
| 486 | { | ||
| 487 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitpos(...\func_get_args()); | ||
| 488 | } | ||
| 489 | |||
| 490 | public function setbit($key, $pos, $val): \Relay\Relay|false|int | ||
| 491 | { | ||
| 492 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setbit(...\func_get_args()); | ||
| 493 | } | ||
| 494 | |||
| 495 | public function acl($cmd, ...$args): mixed | ||
| 496 | { | ||
| 497 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->acl(...\func_get_args()); | ||
| 498 | } | ||
| 499 | |||
| 500 | public function append($key, $value): \Relay\Relay|false|int | ||
| 501 | { | ||
| 502 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->append(...\func_get_args()); | ||
| 503 | } | ||
| 504 | |||
| 505 | public function set($key, $value, $options = null): mixed | ||
| 506 | { | ||
| 507 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->set(...\func_get_args()); | ||
| 508 | } | ||
| 509 | |||
| 510 | public function getex($key, $options = null): mixed | ||
| 511 | { | ||
| 512 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getex(...\func_get_args()); | ||
| 513 | } | ||
| 514 | |||
| 515 | public function getdel($key): mixed | ||
| 516 | { | ||
| 517 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getdel(...\func_get_args()); | ||
| 518 | } | ||
| 519 | |||
| 520 | public function setex($key, $seconds, $value): \Relay\Relay|bool | ||
| 521 | { | ||
| 522 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setex(...\func_get_args()); | ||
| 523 | } | ||
| 524 | |||
| 525 | public function pfadd($key, $elements): \Relay\Relay|false|int | ||
| 526 | { | ||
| 527 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfadd(...\func_get_args()); | ||
| 528 | } | ||
| 529 | |||
| 530 | public function pfcount($key): \Relay\Relay|false|int | ||
| 531 | { | ||
| 532 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfcount(...\func_get_args()); | ||
| 533 | } | ||
| 534 | |||
| 535 | public function pfmerge($dst, $srckeys): \Relay\Relay|bool | ||
| 536 | { | ||
| 537 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfmerge(...\func_get_args()); | ||
| 538 | } | ||
| 539 | |||
| 540 | public function psetex($key, $milliseconds, $value): \Relay\Relay|bool | ||
| 541 | { | ||
| 542 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psetex(...\func_get_args()); | ||
| 543 | } | ||
| 544 | |||
| 545 | public function publish($channel, $message): \Relay\Relay|false|int | ||
| 546 | { | ||
| 547 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->publish(...\func_get_args()); | ||
| 548 | } | ||
| 549 | |||
| 550 | public function pubsub($operation, ...$args): mixed | ||
| 551 | { | ||
| 552 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pubsub(...\func_get_args()); | ||
| 553 | } | ||
| 554 | |||
| 555 | public function spublish($channel, $message): \Relay\Relay|false|int | ||
| 556 | { | ||
| 557 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->spublish(...\func_get_args()); | ||
| 558 | } | ||
| 559 | |||
| 560 | public function setnx($key, $value): \Relay\Relay|bool | ||
| 561 | { | ||
| 562 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setnx(...\func_get_args()); | ||
| 563 | } | ||
| 564 | |||
| 565 | public function mget($keys): \Relay\Relay|array|false | ||
| 566 | { | ||
| 567 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mget(...\func_get_args()); | ||
| 568 | } | ||
| 569 | |||
| 570 | public function move($key, $db): \Relay\Relay|false|int | ||
| 571 | { | ||
| 572 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->move(...\func_get_args()); | ||
| 573 | } | ||
| 574 | |||
| 575 | public function mset($kvals): \Relay\Relay|bool | ||
| 576 | { | ||
| 577 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mset(...\func_get_args()); | ||
| 578 | } | ||
| 579 | |||
| 580 | public function msetnx($kvals): \Relay\Relay|bool | ||
| 581 | { | ||
| 582 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->msetnx(...\func_get_args()); | ||
| 583 | } | ||
| 584 | |||
| 585 | public function rename($key, $newkey): \Relay\Relay|bool | ||
| 586 | { | ||
| 587 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rename(...\func_get_args()); | ||
| 588 | } | ||
| 589 | |||
| 590 | public function renamenx($key, $newkey): \Relay\Relay|bool | ||
| 591 | { | ||
| 592 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->renamenx(...\func_get_args()); | ||
| 593 | } | ||
| 594 | |||
| 595 | public function del(...$keys): \Relay\Relay|bool|int | ||
| 596 | { | ||
| 597 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->del(...\func_get_args()); | ||
| 598 | } | ||
| 599 | |||
| 600 | public function unlink(...$keys): \Relay\Relay|false|int | ||
| 601 | { | ||
| 602 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unlink(...\func_get_args()); | ||
| 603 | } | ||
| 604 | |||
| 605 | public function expire($key, $seconds, $mode = null): \Relay\Relay|bool | ||
| 606 | { | ||
| 607 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expire(...\func_get_args()); | ||
| 608 | } | ||
| 609 | |||
| 610 | public function pexpire($key, $milliseconds): \Relay\Relay|bool | ||
| 611 | { | ||
| 612 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpire(...\func_get_args()); | ||
| 613 | } | ||
| 614 | |||
| 615 | public function expireat($key, $timestamp): \Relay\Relay|bool | ||
| 616 | { | ||
| 617 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expireat(...\func_get_args()); | ||
| 618 | } | ||
| 619 | |||
| 620 | public function expiretime($key): \Relay\Relay|false|int | ||
| 621 | { | ||
| 622 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expiretime(...\func_get_args()); | ||
| 623 | } | ||
| 624 | |||
| 625 | public function pexpireat($key, $timestamp_ms): \Relay\Relay|bool | ||
| 626 | { | ||
| 627 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpireat(...\func_get_args()); | ||
| 628 | } | ||
| 629 | |||
| 630 | public function pexpiretime($key): \Relay\Relay|false|int | ||
| 631 | { | ||
| 632 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpiretime(...\func_get_args()); | ||
| 633 | } | ||
| 634 | |||
| 635 | public function persist($key): \Relay\Relay|bool | ||
| 636 | { | ||
| 637 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->persist(...\func_get_args()); | ||
| 638 | } | ||
| 639 | |||
| 640 | public function type($key): \Relay\Relay|bool|int|string | ||
| 641 | { | ||
| 642 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->type(...\func_get_args()); | ||
| 643 | } | ||
| 644 | |||
| 645 | public function lmove($srckey, $dstkey, $srcpos, $dstpos): \Relay\Relay|false|null|string | ||
| 646 | { | ||
| 647 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lmove(...\func_get_args()); | ||
| 648 | } | ||
| 649 | |||
| 650 | public function blmove($srckey, $dstkey, $srcpos, $dstpos, $timeout): \Relay\Relay|false|null|string | ||
| 651 | { | ||
| 652 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blmove(...\func_get_args()); | ||
| 653 | } | ||
| 654 | |||
| 655 | public function lrange($key, $start, $stop): \Relay\Relay|array|false | ||
| 656 | { | ||
| 657 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrange(...\func_get_args()); | ||
| 658 | } | ||
| 659 | |||
| 660 | public function lpush($key, $mem, ...$mems): \Relay\Relay|false|int | ||
| 661 | { | ||
| 662 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpush(...\func_get_args()); | ||
| 663 | } | ||
| 664 | |||
| 665 | public function rpush($key, $mem, ...$mems): \Relay\Relay|false|int | ||
| 666 | { | ||
| 667 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpush(...\func_get_args()); | ||
| 668 | } | ||
| 669 | |||
| 670 | public function lpushx($key, $mem, ...$mems): \Relay\Relay|false|int | ||
| 671 | { | ||
| 672 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpushx(...\func_get_args()); | ||
| 673 | } | ||
| 674 | |||
| 675 | public function rpushx($key, $mem, ...$mems): \Relay\Relay|false|int | ||
| 676 | { | ||
| 677 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpushx(...\func_get_args()); | ||
| 678 | } | ||
| 679 | |||
| 680 | public function lset($key, $index, $mem): \Relay\Relay|bool | ||
| 681 | { | ||
| 682 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lset(...\func_get_args()); | ||
| 683 | } | ||
| 684 | |||
| 685 | public function lpop($key, $count = 1): mixed | ||
| 686 | { | ||
| 687 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpop(...\func_get_args()); | ||
| 688 | } | ||
| 689 | |||
| 690 | public function lpos($key, $value, $options = null): \Relay\Relay|array|false|int|null | ||
| 691 | { | ||
| 692 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lpos(...\func_get_args()); | ||
| 693 | } | ||
| 694 | |||
| 695 | public function rpop($key, $count = 1): mixed | ||
| 696 | { | ||
| 697 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpop(...\func_get_args()); | ||
| 698 | } | ||
| 699 | |||
| 700 | public function rpoplpush($source, $dest): mixed | ||
| 701 | { | ||
| 702 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpoplpush(...\func_get_args()); | ||
| 703 | } | ||
| 704 | |||
| 705 | public function brpoplpush($source, $dest, $timeout): mixed | ||
| 706 | { | ||
| 707 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brpoplpush(...\func_get_args()); | ||
| 708 | } | ||
| 709 | |||
| 710 | public function blpop($key, $timeout_or_key, ...$extra_args): \Relay\Relay|array|false|null | ||
| 711 | { | ||
| 712 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blpop(...\func_get_args()); | ||
| 713 | } | ||
| 714 | |||
| 715 | public function blmpop($timeout, $keys, $from, $count = 1): \Relay\Relay|array|false|null | ||
| 716 | { | ||
| 717 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blmpop(...\func_get_args()); | ||
| 718 | } | ||
| 719 | |||
| 720 | public function bzmpop($timeout, $keys, $from, $count = 1): \Relay\Relay|array|false|null | ||
| 721 | { | ||
| 722 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzmpop(...\func_get_args()); | ||
| 723 | } | ||
| 724 | |||
| 725 | public function lmpop($keys, $from, $count = 1): \Relay\Relay|array|false|null | ||
| 726 | { | ||
| 727 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lmpop(...\func_get_args()); | ||
| 728 | } | ||
| 729 | |||
| 730 | public function zmpop($keys, $from, $count = 1): \Relay\Relay|array|false|null | ||
| 731 | { | ||
| 732 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zmpop(...\func_get_args()); | ||
| 733 | } | ||
| 734 | |||
| 735 | public function brpop($key, $timeout_or_key, ...$extra_args): \Relay\Relay|array|false|null | ||
| 736 | { | ||
| 737 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brpop(...\func_get_args()); | ||
| 738 | } | ||
| 739 | |||
| 740 | public function bzpopmax($key, $timeout_or_key, ...$extra_args): \Relay\Relay|array|false|null | ||
| 741 | { | ||
| 742 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzpopmax(...\func_get_args()); | ||
| 743 | } | ||
| 744 | |||
| 745 | public function bzpopmin($key, $timeout_or_key, ...$extra_args): \Relay\Relay|array|false|null | ||
| 746 | { | ||
| 747 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzpopmin(...\func_get_args()); | ||
| 748 | } | ||
| 749 | |||
| 750 | public function object($op, $key): mixed | ||
| 751 | { | ||
| 752 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->object(...\func_get_args()); | ||
| 753 | } | ||
| 754 | |||
| 755 | public function geopos($key, ...$members): \Relay\Relay|array|false | ||
| 756 | { | ||
| 757 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geopos(...\func_get_args()); | ||
| 758 | } | ||
| 759 | |||
| 760 | public function lrem($key, $mem, $count = 0): \Relay\Relay|false|int | ||
| 761 | { | ||
| 762 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrem(...\func_get_args()); | ||
| 763 | } | ||
| 764 | |||
| 765 | public function lindex($key, $index): mixed | ||
| 766 | { | ||
| 767 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lindex(...\func_get_args()); | ||
| 768 | } | ||
| 769 | |||
| 770 | public function linsert($key, $op, $pivot, $element): \Relay\Relay|false|int | ||
| 771 | { | ||
| 772 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->linsert(...\func_get_args()); | ||
| 773 | } | ||
| 774 | |||
| 775 | public function ltrim($key, $start, $end): \Relay\Relay|bool | ||
| 776 | { | ||
| 777 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ltrim(...\func_get_args()); | ||
| 778 | } | ||
| 779 | |||
| 780 | public function hget($hash, $member): mixed | ||
| 781 | { | ||
| 782 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hget(...\func_get_args()); | ||
| 783 | } | ||
| 784 | |||
| 785 | public function hstrlen($hash, $member): \Relay\Relay|false|int | ||
| 786 | { | ||
| 787 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hstrlen(...\func_get_args()); | ||
| 788 | } | ||
| 789 | |||
| 790 | public function hgetall($hash): \Relay\Relay|array|false | ||
| 791 | { | ||
| 792 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hgetall(...\func_get_args()); | ||
| 793 | } | ||
| 794 | |||
| 795 | public function hkeys($hash): \Relay\Relay|array|false | ||
| 796 | { | ||
| 797 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hkeys(...\func_get_args()); | ||
| 798 | } | ||
| 799 | |||
| 800 | public function hvals($hash): \Relay\Relay|array|false | ||
| 801 | { | ||
| 802 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hvals(...\func_get_args()); | ||
| 803 | } | ||
| 804 | |||
| 805 | public function hmget($hash, $members): \Relay\Relay|array|false | ||
| 806 | { | ||
| 807 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hmget(...\func_get_args()); | ||
| 808 | } | ||
| 809 | |||
| 810 | public function hrandfield($hash, $options = null): \Relay\Relay|array|false|string | ||
| 811 | { | ||
| 812 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hrandfield(...\func_get_args()); | ||
| 813 | } | ||
| 814 | |||
| 815 | public function hmset($hash, $members): \Relay\Relay|bool | ||
| 816 | { | ||
| 817 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hmset(...\func_get_args()); | ||
| 818 | } | ||
| 819 | |||
| 820 | public function hexists($hash, $member): \Relay\Relay|bool | ||
| 821 | { | ||
| 822 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hexists(...\func_get_args()); | ||
| 823 | } | ||
| 824 | |||
| 825 | public function hsetnx($hash, $member, $value): \Relay\Relay|bool | ||
| 826 | { | ||
| 827 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hsetnx(...\func_get_args()); | ||
| 828 | } | ||
| 829 | |||
| 830 | public function hset($key, $mem, $val, ...$kvals): \Relay\Relay|false|int | ||
| 831 | { | ||
| 832 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hset(...\func_get_args()); | ||
| 833 | } | ||
| 834 | |||
| 835 | public function hdel($key, $mem, ...$mems): \Relay\Relay|false|int | ||
| 836 | { | ||
| 837 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hdel(...\func_get_args()); | ||
| 838 | } | ||
| 839 | |||
| 840 | public function hincrby($key, $mem, $value): \Relay\Relay|false|int | ||
| 841 | { | ||
| 842 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hincrby(...\func_get_args()); | ||
| 843 | } | ||
| 844 | |||
| 845 | public function hincrbyfloat($key, $mem, $value): \Relay\Relay|bool|float | ||
| 846 | { | ||
| 847 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hincrbyfloat(...\func_get_args()); | ||
| 848 | } | ||
| 849 | |||
| 850 | public function incr($key, $by = 1): \Relay\Relay|false|int | ||
| 851 | { | ||
| 852 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incr(...\func_get_args()); | ||
| 853 | } | ||
| 854 | |||
| 855 | public function decr($key, $by = 1): \Relay\Relay|false|int | ||
| 856 | { | ||
| 857 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decr(...\func_get_args()); | ||
| 858 | } | ||
| 859 | |||
| 860 | public function incrby($key, $value): \Relay\Relay|false|int | ||
| 861 | { | ||
| 862 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrby(...\func_get_args()); | ||
| 863 | } | ||
| 864 | |||
| 865 | public function decrby($key, $value): \Relay\Relay|false|int | ||
| 866 | { | ||
| 867 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decrby(...\func_get_args()); | ||
| 868 | } | ||
| 869 | |||
| 870 | public function incrbyfloat($key, $value): \Relay\Relay|false|float | ||
| 871 | { | ||
| 872 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrbyfloat(...\func_get_args()); | ||
| 873 | } | ||
| 874 | |||
| 875 | public function sdiff($key, ...$other_keys): \Relay\Relay|array|false | ||
| 876 | { | ||
| 877 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sdiff(...\func_get_args()); | ||
| 878 | } | ||
| 879 | |||
| 880 | public function sdiffstore($key, ...$other_keys): \Relay\Relay|false|int | ||
| 881 | { | ||
| 882 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sdiffstore(...\func_get_args()); | ||
| 883 | } | ||
| 884 | |||
| 885 | public function sinter($key, ...$other_keys): \Relay\Relay|array|false | ||
| 886 | { | ||
| 887 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sinter(...\func_get_args()); | ||
| 888 | } | ||
| 889 | |||
| 890 | public function sintercard($keys, $limit = -1): \Relay\Relay|false|int | ||
| 891 | { | ||
| 892 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sintercard(...\func_get_args()); | ||
| 893 | } | ||
| 894 | |||
| 895 | public function sinterstore($key, ...$other_keys): \Relay\Relay|false|int | ||
| 896 | { | ||
| 897 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sinterstore(...\func_get_args()); | ||
| 898 | } | ||
| 899 | |||
| 900 | public function sunion($key, ...$other_keys): \Relay\Relay|array|false | ||
| 901 | { | ||
| 902 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sunion(...\func_get_args()); | ||
| 903 | } | ||
| 904 | |||
| 905 | public function sunionstore($key, ...$other_keys): \Relay\Relay|false|int | ||
| 906 | { | ||
| 907 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sunionstore(...\func_get_args()); | ||
| 908 | } | ||
| 909 | |||
| 910 | public function subscribe($channels, $callback): bool | ||
| 911 | { | ||
| 912 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->subscribe(...\func_get_args()); | ||
| 913 | } | ||
| 914 | |||
| 915 | public function unsubscribe($channels = []): bool | ||
| 916 | { | ||
| 917 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unsubscribe(...\func_get_args()); | ||
| 918 | } | ||
| 919 | |||
| 920 | public function psubscribe($patterns, $callback): bool | ||
| 921 | { | ||
| 922 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psubscribe(...\func_get_args()); | ||
| 923 | } | ||
| 924 | |||
| 925 | public function punsubscribe($patterns = []): bool | ||
| 926 | { | ||
| 927 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->punsubscribe(...\func_get_args()); | ||
| 928 | } | ||
| 929 | |||
| 930 | public function ssubscribe($channels, $callback): bool | ||
| 931 | { | ||
| 932 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ssubscribe(...\func_get_args()); | ||
| 933 | } | ||
| 934 | |||
| 935 | public function sunsubscribe($channels = []): bool | ||
| 936 | { | ||
| 937 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sunsubscribe(...\func_get_args()); | ||
| 938 | } | ||
| 939 | |||
| 940 | public function touch($key_or_array, ...$more_keys): \Relay\Relay|false|int | ||
| 941 | { | ||
| 942 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->touch(...\func_get_args()); | ||
| 943 | } | ||
| 944 | |||
| 945 | public function pipeline(): \Relay\Relay|bool | ||
| 946 | { | ||
| 947 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pipeline(...\func_get_args()); | ||
| 948 | } | ||
| 949 | |||
| 950 | public function multi($mode = 0): \Relay\Relay|bool | ||
| 951 | { | ||
| 952 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->multi(...\func_get_args()); | ||
| 953 | } | ||
| 954 | |||
| 955 | public function exec(): \Relay\Relay|array|bool | ||
| 956 | { | ||
| 957 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exec(...\func_get_args()); | ||
| 958 | } | ||
| 959 | |||
| 960 | public function wait($replicas, $timeout): \Relay\Relay|false|int | ||
| 961 | { | ||
| 962 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->wait(...\func_get_args()); | ||
| 963 | } | ||
| 964 | |||
| 965 | public function watch($key, ...$other_keys): \Relay\Relay|bool | ||
| 966 | { | ||
| 967 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->watch(...\func_get_args()); | ||
| 968 | } | ||
| 969 | |||
| 970 | public function unwatch(): \Relay\Relay|bool | ||
| 971 | { | ||
| 972 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unwatch(...\func_get_args()); | ||
| 973 | } | ||
| 974 | |||
| 975 | public function discard(): bool | ||
| 976 | { | ||
| 977 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->discard(...\func_get_args()); | ||
| 978 | } | ||
| 979 | |||
| 980 | public function getMode($masked = false): int | ||
| 981 | { | ||
| 982 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getMode(...\func_get_args()); | ||
| 983 | } | ||
| 984 | |||
| 985 | public function clearBytes(): void | ||
| 986 | { | ||
| 987 | ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->clearBytes(...\func_get_args()); | ||
| 988 | } | ||
| 989 | |||
| 990 | public function scan(&$iterator, $match = null, $count = 0, $type = null): array|false | ||
| 991 | { | ||
| 992 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scan($iterator, ...\array_slice(\func_get_args(), 1)); | ||
| 993 | } | ||
| 994 | |||
| 995 | public function hscan($key, &$iterator, $match = null, $count = 0): array|false | ||
| 996 | { | ||
| 997 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 998 | } | ||
| 999 | |||
| 1000 | public function sscan($key, &$iterator, $match = null, $count = 0): array|false | ||
| 1001 | { | ||
| 1002 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 1003 | } | ||
| 1004 | |||
| 1005 | public function zscan($key, &$iterator, $match = null, $count = 0): array|false | ||
| 1006 | { | ||
| 1007 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zscan($key, $iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 1008 | } | ||
| 1009 | |||
| 1010 | public function keys($pattern): \Relay\Relay|array|false | ||
| 1011 | { | ||
| 1012 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->keys(...\func_get_args()); | ||
| 1013 | } | ||
| 1014 | |||
| 1015 | public function slowlog($operation, ...$extra_args): \Relay\Relay|array|bool|int | ||
| 1016 | { | ||
| 1017 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->slowlog(...\func_get_args()); | ||
| 1018 | } | ||
| 1019 | |||
| 1020 | public function smembers($set): \Relay\Relay|array|false | ||
| 1021 | { | ||
| 1022 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smembers(...\func_get_args()); | ||
| 1023 | } | ||
| 1024 | |||
| 1025 | public function sismember($set, $member): \Relay\Relay|bool | ||
| 1026 | { | ||
| 1027 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sismember(...\func_get_args()); | ||
| 1028 | } | ||
| 1029 | |||
| 1030 | public function smismember($set, ...$members): \Relay\Relay|array|false | ||
| 1031 | { | ||
| 1032 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smismember(...\func_get_args()); | ||
| 1033 | } | ||
| 1034 | |||
| 1035 | public function srem($set, $member, ...$members): \Relay\Relay|false|int | ||
| 1036 | { | ||
| 1037 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->srem(...\func_get_args()); | ||
| 1038 | } | ||
| 1039 | |||
| 1040 | public function sadd($set, $member, ...$members): \Relay\Relay|false|int | ||
| 1041 | { | ||
| 1042 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sadd(...\func_get_args()); | ||
| 1043 | } | ||
| 1044 | |||
| 1045 | public function sort($key, $options = []): \Relay\Relay|array|false|int | ||
| 1046 | { | ||
| 1047 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sort(...\func_get_args()); | ||
| 1048 | } | ||
| 1049 | |||
| 1050 | public function sort_ro($key, $options = []): \Relay\Relay|array|false | ||
| 1051 | { | ||
| 1052 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sort_ro(...\func_get_args()); | ||
| 1053 | } | ||
| 1054 | |||
| 1055 | public function smove($srcset, $dstset, $member): \Relay\Relay|bool | ||
| 1056 | { | ||
| 1057 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->smove(...\func_get_args()); | ||
| 1058 | } | ||
| 1059 | |||
| 1060 | public function spop($set, $count = 1): mixed | ||
| 1061 | { | ||
| 1062 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->spop(...\func_get_args()); | ||
| 1063 | } | ||
| 1064 | |||
| 1065 | public function srandmember($set, $count = 1): mixed | ||
| 1066 | { | ||
| 1067 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->srandmember(...\func_get_args()); | ||
| 1068 | } | ||
| 1069 | |||
| 1070 | public function scard($key): \Relay\Relay|false|int | ||
| 1071 | { | ||
| 1072 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scard(...\func_get_args()); | ||
| 1073 | } | ||
| 1074 | |||
| 1075 | public function script($command, ...$args): mixed | ||
| 1076 | { | ||
| 1077 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->script(...\func_get_args()); | ||
| 1078 | } | ||
| 1079 | |||
| 1080 | public function strlen($key): \Relay\Relay|false|int | ||
| 1081 | { | ||
| 1082 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->strlen(...\func_get_args()); | ||
| 1083 | } | ||
| 1084 | |||
| 1085 | public function hlen($key): \Relay\Relay|false|int | ||
| 1086 | { | ||
| 1087 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hlen(...\func_get_args()); | ||
| 1088 | } | ||
| 1089 | |||
| 1090 | public function llen($key): \Relay\Relay|false|int | ||
| 1091 | { | ||
| 1092 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->llen(...\func_get_args()); | ||
| 1093 | } | ||
| 1094 | |||
| 1095 | public function xack($key, $group, $ids): \Relay\Relay|false|int | ||
| 1096 | { | ||
| 1097 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xack(...\func_get_args()); | ||
| 1098 | } | ||
| 1099 | |||
| 1100 | public function xadd($key, $id, $values, $maxlen = 0, $approx = false, $nomkstream = false): \Relay\Relay|false|string | ||
| 1101 | { | ||
| 1102 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xadd(...\func_get_args()); | ||
| 1103 | } | ||
| 1104 | |||
| 1105 | public function xclaim($key, $group, $consumer, $min_idle, $ids, $options): \Relay\Relay|array|bool | ||
| 1106 | { | ||
| 1107 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xclaim(...\func_get_args()); | ||
| 1108 | } | ||
| 1109 | |||
| 1110 | public function xautoclaim($key, $group, $consumer, $min_idle, $start, $count = -1, $justid = false): \Relay\Relay|array|bool | ||
| 1111 | { | ||
| 1112 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xautoclaim(...\func_get_args()); | ||
| 1113 | } | ||
| 1114 | |||
| 1115 | public function xlen($key): \Relay\Relay|false|int | ||
| 1116 | { | ||
| 1117 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xlen(...\func_get_args()); | ||
| 1118 | } | ||
| 1119 | |||
| 1120 | public function xgroup($operation, $key = null, $group = null, $id_or_consumer = null, $mkstream = false, $entries_read = -2): mixed | ||
| 1121 | { | ||
| 1122 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xgroup(...\func_get_args()); | ||
| 1123 | } | ||
| 1124 | |||
| 1125 | public function xdel($key, $ids): \Relay\Relay|false|int | ||
| 1126 | { | ||
| 1127 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xdel(...\func_get_args()); | ||
| 1128 | } | ||
| 1129 | |||
| 1130 | public function xinfo($operation, $arg1 = null, $arg2 = null, $count = -1): mixed | ||
| 1131 | { | ||
| 1132 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xinfo(...\func_get_args()); | ||
| 1133 | } | ||
| 1134 | |||
| 1135 | public function xpending($key, $group, $start = null, $end = null, $count = -1, $consumer = null, $idle = 0): \Relay\Relay|array|false | ||
| 1136 | { | ||
| 1137 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xpending(...\func_get_args()); | ||
| 1138 | } | ||
| 1139 | |||
| 1140 | public function xrange($key, $start, $end, $count = -1): \Relay\Relay|array|false | ||
| 1141 | { | ||
| 1142 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrange(...\func_get_args()); | ||
| 1143 | } | ||
| 1144 | |||
| 1145 | public function xrevrange($key, $end, $start, $count = -1): \Relay\Relay|array|bool | ||
| 1146 | { | ||
| 1147 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrevrange(...\func_get_args()); | ||
| 1148 | } | ||
| 1149 | |||
| 1150 | public function xread($streams, $count = -1, $block = -1): \Relay\Relay|array|bool|null | ||
| 1151 | { | ||
| 1152 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xread(...\func_get_args()); | ||
| 1153 | } | ||
| 1154 | |||
| 1155 | public function xreadgroup($group, $consumer, $streams, $count = 1, $block = 1): \Relay\Relay|array|bool|null | ||
| 1156 | { | ||
| 1157 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xreadgroup(...\func_get_args()); | ||
| 1158 | } | ||
| 1159 | |||
| 1160 | public function xtrim($key, $threshold, $approx = false, $minid = false, $limit = -1): \Relay\Relay|false|int | ||
| 1161 | { | ||
| 1162 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xtrim(...\func_get_args()); | ||
| 1163 | } | ||
| 1164 | |||
| 1165 | public function zadd($key, ...$args): mixed | ||
| 1166 | { | ||
| 1167 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zadd(...\func_get_args()); | ||
| 1168 | } | ||
| 1169 | |||
| 1170 | public function zrandmember($key, $options = null): mixed | ||
| 1171 | { | ||
| 1172 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrandmember(...\func_get_args()); | ||
| 1173 | } | ||
| 1174 | |||
| 1175 | public function zrange($key, $start, $end, $options = null): \Relay\Relay|array|false | ||
| 1176 | { | ||
| 1177 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrange(...\func_get_args()); | ||
| 1178 | } | ||
| 1179 | |||
| 1180 | public function zrevrange($key, $start, $end, $options = null): \Relay\Relay|array|false | ||
| 1181 | { | ||
| 1182 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrange(...\func_get_args()); | ||
| 1183 | } | ||
| 1184 | |||
| 1185 | public function zrangebyscore($key, $start, $end, $options = null): \Relay\Relay|array|false | ||
| 1186 | { | ||
| 1187 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangebyscore(...\func_get_args()); | ||
| 1188 | } | ||
| 1189 | |||
| 1190 | public function zrevrangebyscore($key, $start, $end, $options = null): \Relay\Relay|array|false | ||
| 1191 | { | ||
| 1192 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrangebyscore(...\func_get_args()); | ||
| 1193 | } | ||
| 1194 | |||
| 1195 | public function zrangestore($dst, $src, $start, $end, $options = null): \Relay\Relay|false|int | ||
| 1196 | { | ||
| 1197 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangestore(...\func_get_args()); | ||
| 1198 | } | ||
| 1199 | |||
| 1200 | public function zrangebylex($key, $min, $max, $offset = -1, $count = -1): \Relay\Relay|array|false | ||
| 1201 | { | ||
| 1202 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrangebylex(...\func_get_args()); | ||
| 1203 | } | ||
| 1204 | |||
| 1205 | public function zrevrangebylex($key, $max, $min, $offset = -1, $count = -1): \Relay\Relay|array|false | ||
| 1206 | { | ||
| 1207 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrangebylex(...\func_get_args()); | ||
| 1208 | } | ||
| 1209 | |||
| 1210 | public function zrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int | ||
| 1211 | { | ||
| 1212 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrank(...\func_get_args()); | ||
| 1213 | } | ||
| 1214 | |||
| 1215 | public function zrevrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int | ||
| 1216 | { | ||
| 1217 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrevrank(...\func_get_args()); | ||
| 1218 | } | ||
| 1219 | |||
| 1220 | public function zrem($key, ...$args): \Relay\Relay|false|int | ||
| 1221 | { | ||
| 1222 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zrem(...\func_get_args()); | ||
| 1223 | } | ||
| 1224 | |||
| 1225 | public function zremrangebylex($key, $min, $max): \Relay\Relay|false|int | ||
| 1226 | { | ||
| 1227 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebylex(...\func_get_args()); | ||
| 1228 | } | ||
| 1229 | |||
| 1230 | public function zremrangebyrank($key, $start, $end): \Relay\Relay|false|int | ||
| 1231 | { | ||
| 1232 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebyrank(...\func_get_args()); | ||
| 1233 | } | ||
| 1234 | |||
| 1235 | public function zremrangebyscore($key, $min, $max): \Relay\Relay|false|int | ||
| 1236 | { | ||
| 1237 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zremrangebyscore(...\func_get_args()); | ||
| 1238 | } | ||
| 1239 | |||
| 1240 | public function zcard($key): \Relay\Relay|false|int | ||
| 1241 | { | ||
| 1242 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zcard(...\func_get_args()); | ||
| 1243 | } | ||
| 1244 | |||
| 1245 | public function zcount($key, $min, $max): \Relay\Relay|false|int | ||
| 1246 | { | ||
| 1247 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zcount(...\func_get_args()); | ||
| 1248 | } | ||
| 1249 | |||
| 1250 | public function zdiff($keys, $options = null): \Relay\Relay|array|false | ||
| 1251 | { | ||
| 1252 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zdiff(...\func_get_args()); | ||
| 1253 | } | ||
| 1254 | |||
| 1255 | public function zdiffstore($dst, $keys): \Relay\Relay|false|int | ||
| 1256 | { | ||
| 1257 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zdiffstore(...\func_get_args()); | ||
| 1258 | } | ||
| 1259 | |||
| 1260 | public function zincrby($key, $score, $mem): \Relay\Relay|false|float | ||
| 1261 | { | ||
| 1262 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zincrby(...\func_get_args()); | ||
| 1263 | } | ||
| 1264 | |||
| 1265 | public function zlexcount($key, $min, $max): \Relay\Relay|false|int | ||
| 1266 | { | ||
| 1267 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zlexcount(...\func_get_args()); | ||
| 1268 | } | ||
| 1269 | |||
| 1270 | public function zmscore($key, ...$mems): \Relay\Relay|array|false | ||
| 1271 | { | ||
| 1272 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zmscore(...\func_get_args()); | ||
| 1273 | } | ||
| 1274 | |||
| 1275 | public function zscore($key, $member): \Relay\Relay|false|float | ||
| 1276 | { | ||
| 1277 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zscore(...\func_get_args()); | ||
| 1278 | } | ||
| 1279 | |||
| 1280 | public function zinter($keys, $weights = null, $options = null): \Relay\Relay|array|false | ||
| 1281 | { | ||
| 1282 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zinter(...\func_get_args()); | ||
| 1283 | } | ||
| 1284 | |||
| 1285 | public function zintercard($keys, $limit = -1): \Relay\Relay|false|int | ||
| 1286 | { | ||
| 1287 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zintercard(...\func_get_args()); | ||
| 1288 | } | ||
| 1289 | |||
| 1290 | public function zinterstore($dst, $keys, $weights = null, $options = null): \Relay\Relay|false|int | ||
| 1291 | { | ||
| 1292 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zinterstore(...\func_get_args()); | ||
| 1293 | } | ||
| 1294 | |||
| 1295 | public function zunion($keys, $weights = null, $options = null): \Relay\Relay|array|false | ||
| 1296 | { | ||
| 1297 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zunion(...\func_get_args()); | ||
| 1298 | } | ||
| 1299 | |||
| 1300 | public function zunionstore($dst, $keys, $weights = null, $options = null): \Relay\Relay|false|int | ||
| 1301 | { | ||
| 1302 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zunionstore(...\func_get_args()); | ||
| 1303 | } | ||
| 1304 | |||
| 1305 | public function zpopmin($key, $count = 1): \Relay\Relay|array|false | ||
| 1306 | { | ||
| 1307 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zpopmin(...\func_get_args()); | ||
| 1308 | } | ||
| 1309 | |||
| 1310 | public function zpopmax($key, $count = 1): \Relay\Relay|array|false | ||
| 1311 | { | ||
| 1312 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zpopmax(...\func_get_args()); | ||
| 1313 | } | ||
| 1314 | |||
| 1315 | public function _getKeys() | ||
| 1316 | { | ||
| 1317 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_getKeys(...\func_get_args()); | ||
| 1318 | } | ||
| 1319 | } | ||
