diff options
| author | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2024-08-13 23:45:21 +0200 |
| commit | bf6655a534a6775d30cafa67bd801276bda1d98d (patch) | |
| tree | c6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/symfony/cache/Traits/Redis5Proxy.php | |
| parent | 94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff) | |
| download | AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.tar.gz AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.tar.bz2 AppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip | |
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/symfony/cache/Traits/Redis5Proxy.php')
| -rw-r--r-- | vendor/symfony/cache/Traits/Redis5Proxy.php | 1228 |
1 files changed, 1228 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Traits/Redis5Proxy.php b/vendor/symfony/cache/Traits/Redis5Proxy.php new file mode 100644 index 0000000..0b2794e --- /dev/null +++ b/vendor/symfony/cache/Traits/Redis5Proxy.php | |||
| @@ -0,0 +1,1228 @@ | |||
| 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 Redis5Proxy extends \Redis implements ResetInterface, LazyObjectInterface | ||
| 27 | { | ||
| 28 | use LazyProxyTrait { | ||
| 29 | resetLazyObject as reset; | ||
| 30 | } | ||
| 31 | |||
| 32 | private const LAZY_OBJECT_PROPERTY_SCOPES = []; | ||
| 33 | |||
| 34 | public function __construct() | ||
| 35 | { | ||
| 36 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->__construct(...\func_get_args()); | ||
| 37 | } | ||
| 38 | |||
| 39 | public function _prefix($key) | ||
| 40 | { | ||
| 41 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_prefix(...\func_get_args()); | ||
| 42 | } | ||
| 43 | |||
| 44 | public function _serialize($value) | ||
| 45 | { | ||
| 46 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_serialize(...\func_get_args()); | ||
| 47 | } | ||
| 48 | |||
| 49 | public function _unserialize($value) | ||
| 50 | { | ||
| 51 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unserialize(...\func_get_args()); | ||
| 52 | } | ||
| 53 | |||
| 54 | public function _pack($value) | ||
| 55 | { | ||
| 56 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_pack(...\func_get_args()); | ||
| 57 | } | ||
| 58 | |||
| 59 | public function _unpack($value) | ||
| 60 | { | ||
| 61 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_unpack(...\func_get_args()); | ||
| 62 | } | ||
| 63 | |||
| 64 | public function _compress($value) | ||
| 65 | { | ||
| 66 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_compress(...\func_get_args()); | ||
| 67 | } | ||
| 68 | |||
| 69 | public function _uncompress($value) | ||
| 70 | { | ||
| 71 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->_uncompress(...\func_get_args()); | ||
| 72 | } | ||
| 73 | |||
| 74 | public function acl($subcmd, ...$args) | ||
| 75 | { | ||
| 76 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->acl(...\func_get_args()); | ||
| 77 | } | ||
| 78 | |||
| 79 | public function append($key, $value) | ||
| 80 | { | ||
| 81 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->append(...\func_get_args()); | ||
| 82 | } | ||
| 83 | |||
| 84 | public function auth(#[\SensitiveParameter] $auth) | ||
| 85 | { | ||
| 86 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->auth(...\func_get_args()); | ||
| 87 | } | ||
| 88 | |||
| 89 | public function bgSave() | ||
| 90 | { | ||
| 91 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgSave(...\func_get_args()); | ||
| 92 | } | ||
| 93 | |||
| 94 | public function bgrewriteaof() | ||
| 95 | { | ||
| 96 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bgrewriteaof(...\func_get_args()); | ||
| 97 | } | ||
| 98 | |||
| 99 | public function bitcount($key) | ||
| 100 | { | ||
| 101 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args()); | ||
| 102 | } | ||
| 103 | |||
| 104 | public function bitop($operation, $ret_key, $key, ...$other_keys) | ||
| 105 | { | ||
| 106 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitop(...\func_get_args()); | ||
| 107 | } | ||
| 108 | |||
| 109 | public function bitpos($key, $bit, $start = null, $end = null) | ||
| 110 | { | ||
| 111 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitpos(...\func_get_args()); | ||
| 112 | } | ||
| 113 | |||
| 114 | public function blPop($key, $timeout_or_key, ...$extra_args) | ||
| 115 | { | ||
| 116 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->blPop(...\func_get_args()); | ||
| 117 | } | ||
| 118 | |||
| 119 | public function brPop($key, $timeout_or_key, ...$extra_args) | ||
| 120 | { | ||
| 121 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brPop(...\func_get_args()); | ||
| 122 | } | ||
| 123 | |||
| 124 | public function brpoplpush($src, $dst, $timeout) | ||
| 125 | { | ||
| 126 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->brpoplpush(...\func_get_args()); | ||
| 127 | } | ||
| 128 | |||
| 129 | public function bzPopMax($key, $timeout_or_key, ...$extra_args) | ||
| 130 | { | ||
| 131 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzPopMax(...\func_get_args()); | ||
| 132 | } | ||
| 133 | |||
| 134 | public function bzPopMin($key, $timeout_or_key, ...$extra_args) | ||
| 135 | { | ||
| 136 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bzPopMin(...\func_get_args()); | ||
| 137 | } | ||
| 138 | |||
| 139 | public function clearLastError() | ||
| 140 | { | ||
| 141 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->clearLastError(...\func_get_args()); | ||
| 142 | } | ||
| 143 | |||
| 144 | public function client($cmd, ...$args) | ||
| 145 | { | ||
| 146 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->client(...\func_get_args()); | ||
| 147 | } | ||
| 148 | |||
| 149 | public function close() | ||
| 150 | { | ||
| 151 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->close(...\func_get_args()); | ||
| 152 | } | ||
| 153 | |||
| 154 | public function command(...$args) | ||
| 155 | { | ||
| 156 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->command(...\func_get_args()); | ||
| 157 | } | ||
| 158 | |||
| 159 | public function config($cmd, $key, $value = null) | ||
| 160 | { | ||
| 161 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args()); | ||
| 162 | } | ||
| 163 | |||
| 164 | public function connect($host, $port = null, $timeout = null, $retry_interval = null) | ||
| 165 | { | ||
| 166 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->connect(...\func_get_args()); | ||
| 167 | } | ||
| 168 | |||
| 169 | public function dbSize() | ||
| 170 | { | ||
| 171 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dbSize(...\func_get_args()); | ||
| 172 | } | ||
| 173 | |||
| 174 | public function debug($key) | ||
| 175 | { | ||
| 176 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->debug(...\func_get_args()); | ||
| 177 | } | ||
| 178 | |||
| 179 | public function decr($key) | ||
| 180 | { | ||
| 181 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decr(...\func_get_args()); | ||
| 182 | } | ||
| 183 | |||
| 184 | public function decrBy($key, $value) | ||
| 185 | { | ||
| 186 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->decrBy(...\func_get_args()); | ||
| 187 | } | ||
| 188 | |||
| 189 | public function del($key, ...$other_keys) | ||
| 190 | { | ||
| 191 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->del(...\func_get_args()); | ||
| 192 | } | ||
| 193 | |||
| 194 | public function discard() | ||
| 195 | { | ||
| 196 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->discard(...\func_get_args()); | ||
| 197 | } | ||
| 198 | |||
| 199 | public function dump($key) | ||
| 200 | { | ||
| 201 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->dump(...\func_get_args()); | ||
| 202 | } | ||
| 203 | |||
| 204 | public function echo($msg) | ||
| 205 | { | ||
| 206 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->echo(...\func_get_args()); | ||
| 207 | } | ||
| 208 | |||
| 209 | public function eval($script, $args = null, $num_keys = null) | ||
| 210 | { | ||
| 211 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->eval(...\func_get_args()); | ||
| 212 | } | ||
| 213 | |||
| 214 | public function evalsha($script_sha, $args = null, $num_keys = null) | ||
| 215 | { | ||
| 216 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evalsha(...\func_get_args()); | ||
| 217 | } | ||
| 218 | |||
| 219 | public function exec() | ||
| 220 | { | ||
| 221 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exec(...\func_get_args()); | ||
| 222 | } | ||
| 223 | |||
| 224 | public function exists($key, ...$other_keys) | ||
| 225 | { | ||
| 226 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->exists(...\func_get_args()); | ||
| 227 | } | ||
| 228 | |||
| 229 | public function expire($key, $timeout) | ||
| 230 | { | ||
| 231 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expire(...\func_get_args()); | ||
| 232 | } | ||
| 233 | |||
| 234 | public function expireAt($key, $timestamp) | ||
| 235 | { | ||
| 236 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->expireAt(...\func_get_args()); | ||
| 237 | } | ||
| 238 | |||
| 239 | public function flushAll($async = null) | ||
| 240 | { | ||
| 241 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushAll(...\func_get_args()); | ||
| 242 | } | ||
| 243 | |||
| 244 | public function flushDB($async = null) | ||
| 245 | { | ||
| 246 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->flushDB(...\func_get_args()); | ||
| 247 | } | ||
| 248 | |||
| 249 | public function geoadd($key, $lng, $lat, $member, ...$other_triples) | ||
| 250 | { | ||
| 251 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geoadd(...\func_get_args()); | ||
| 252 | } | ||
| 253 | |||
| 254 | public function geodist($key, $src, $dst, $unit = null) | ||
| 255 | { | ||
| 256 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geodist(...\func_get_args()); | ||
| 257 | } | ||
| 258 | |||
| 259 | public function geohash($key, $member, ...$other_members) | ||
| 260 | { | ||
| 261 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geohash(...\func_get_args()); | ||
| 262 | } | ||
| 263 | |||
| 264 | public function geopos($key, $member, ...$other_members) | ||
| 265 | { | ||
| 266 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->geopos(...\func_get_args()); | ||
| 267 | } | ||
| 268 | |||
| 269 | public function georadius($key, $lng, $lan, $radius, $unit, $opts = null) | ||
| 270 | { | ||
| 271 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius(...\func_get_args()); | ||
| 272 | } | ||
| 273 | |||
| 274 | public function georadius_ro($key, $lng, $lan, $radius, $unit, $opts = null) | ||
| 275 | { | ||
| 276 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadius_ro(...\func_get_args()); | ||
| 277 | } | ||
| 278 | |||
| 279 | public function georadiusbymember($key, $member, $radius, $unit, $opts = null) | ||
| 280 | { | ||
| 281 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember(...\func_get_args()); | ||
| 282 | } | ||
| 283 | |||
| 284 | public function georadiusbymember_ro($key, $member, $radius, $unit, $opts = null) | ||
| 285 | { | ||
| 286 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->georadiusbymember_ro(...\func_get_args()); | ||
| 287 | } | ||
| 288 | |||
| 289 | public function get($key) | ||
| 290 | { | ||
| 291 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->get(...\func_get_args()); | ||
| 292 | } | ||
| 293 | |||
| 294 | public function getAuth() | ||
| 295 | { | ||
| 296 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getAuth(...\func_get_args()); | ||
| 297 | } | ||
| 298 | |||
| 299 | public function getBit($key, $offset) | ||
| 300 | { | ||
| 301 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getBit(...\func_get_args()); | ||
| 302 | } | ||
| 303 | |||
| 304 | public function getDBNum() | ||
| 305 | { | ||
| 306 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getDBNum(...\func_get_args()); | ||
| 307 | } | ||
| 308 | |||
| 309 | public function getHost() | ||
| 310 | { | ||
| 311 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getHost(...\func_get_args()); | ||
| 312 | } | ||
| 313 | |||
| 314 | public function getLastError() | ||
| 315 | { | ||
| 316 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getLastError(...\func_get_args()); | ||
| 317 | } | ||
| 318 | |||
| 319 | public function getMode() | ||
| 320 | { | ||
| 321 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getMode(...\func_get_args()); | ||
| 322 | } | ||
| 323 | |||
| 324 | public function getOption($option) | ||
| 325 | { | ||
| 326 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getOption(...\func_get_args()); | ||
| 327 | } | ||
| 328 | |||
| 329 | public function getPersistentID() | ||
| 330 | { | ||
| 331 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getPersistentID(...\func_get_args()); | ||
| 332 | } | ||
| 333 | |||
| 334 | public function getPort() | ||
| 335 | { | ||
| 336 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getPort(...\func_get_args()); | ||
| 337 | } | ||
| 338 | |||
| 339 | public function getRange($key, $start, $end) | ||
| 340 | { | ||
| 341 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getRange(...\func_get_args()); | ||
| 342 | } | ||
| 343 | |||
| 344 | public function getReadTimeout() | ||
| 345 | { | ||
| 346 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getReadTimeout(...\func_get_args()); | ||
| 347 | } | ||
| 348 | |||
| 349 | public function getSet($key, $value) | ||
| 350 | { | ||
| 351 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getSet(...\func_get_args()); | ||
| 352 | } | ||
| 353 | |||
| 354 | public function getTimeout() | ||
| 355 | { | ||
| 356 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getTimeout(...\func_get_args()); | ||
| 357 | } | ||
| 358 | |||
| 359 | public function hDel($key, $member, ...$other_members) | ||
| 360 | { | ||
| 361 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hDel(...\func_get_args()); | ||
| 362 | } | ||
| 363 | |||
| 364 | public function hExists($key, $member) | ||
| 365 | { | ||
| 366 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hExists(...\func_get_args()); | ||
| 367 | } | ||
| 368 | |||
| 369 | public function hGet($key, $member) | ||
| 370 | { | ||
| 371 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hGet(...\func_get_args()); | ||
| 372 | } | ||
| 373 | |||
| 374 | public function hGetAll($key) | ||
| 375 | { | ||
| 376 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hGetAll(...\func_get_args()); | ||
| 377 | } | ||
| 378 | |||
| 379 | public function hIncrBy($key, $member, $value) | ||
| 380 | { | ||
| 381 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hIncrBy(...\func_get_args()); | ||
| 382 | } | ||
| 383 | |||
| 384 | public function hIncrByFloat($key, $member, $value) | ||
| 385 | { | ||
| 386 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hIncrByFloat(...\func_get_args()); | ||
| 387 | } | ||
| 388 | |||
| 389 | public function hKeys($key) | ||
| 390 | { | ||
| 391 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hKeys(...\func_get_args()); | ||
| 392 | } | ||
| 393 | |||
| 394 | public function hLen($key) | ||
| 395 | { | ||
| 396 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hLen(...\func_get_args()); | ||
| 397 | } | ||
| 398 | |||
| 399 | public function hMget($key, $keys) | ||
| 400 | { | ||
| 401 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hMget(...\func_get_args()); | ||
| 402 | } | ||
| 403 | |||
| 404 | public function hMset($key, $pairs) | ||
| 405 | { | ||
| 406 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hMset(...\func_get_args()); | ||
| 407 | } | ||
| 408 | |||
| 409 | public function hSet($key, $member, $value) | ||
| 410 | { | ||
| 411 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hSet(...\func_get_args()); | ||
| 412 | } | ||
| 413 | |||
| 414 | public function hSetNx($key, $member, $value) | ||
| 415 | { | ||
| 416 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hSetNx(...\func_get_args()); | ||
| 417 | } | ||
| 418 | |||
| 419 | public function hStrLen($key, $member) | ||
| 420 | { | ||
| 421 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hStrLen(...\func_get_args()); | ||
| 422 | } | ||
| 423 | |||
| 424 | public function hVals($key) | ||
| 425 | { | ||
| 426 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hVals(...\func_get_args()); | ||
| 427 | } | ||
| 428 | |||
| 429 | public function hscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null) | ||
| 430 | { | ||
| 431 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->hscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 432 | } | ||
| 433 | |||
| 434 | public function incr($key) | ||
| 435 | { | ||
| 436 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incr(...\func_get_args()); | ||
| 437 | } | ||
| 438 | |||
| 439 | public function incrBy($key, $value) | ||
| 440 | { | ||
| 441 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrBy(...\func_get_args()); | ||
| 442 | } | ||
| 443 | |||
| 444 | public function incrByFloat($key, $value) | ||
| 445 | { | ||
| 446 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->incrByFloat(...\func_get_args()); | ||
| 447 | } | ||
| 448 | |||
| 449 | public function info($option = null) | ||
| 450 | { | ||
| 451 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->info(...\func_get_args()); | ||
| 452 | } | ||
| 453 | |||
| 454 | public function isConnected() | ||
| 455 | { | ||
| 456 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->isConnected(...\func_get_args()); | ||
| 457 | } | ||
| 458 | |||
| 459 | public function keys($pattern) | ||
| 460 | { | ||
| 461 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->keys(...\func_get_args()); | ||
| 462 | } | ||
| 463 | |||
| 464 | public function lInsert($key, $position, $pivot, $value) | ||
| 465 | { | ||
| 466 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lInsert(...\func_get_args()); | ||
| 467 | } | ||
| 468 | |||
| 469 | public function lLen($key) | ||
| 470 | { | ||
| 471 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lLen(...\func_get_args()); | ||
| 472 | } | ||
| 473 | |||
| 474 | public function lPop($key) | ||
| 475 | { | ||
| 476 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lPop(...\func_get_args()); | ||
| 477 | } | ||
| 478 | |||
| 479 | public function lPush($key, $value) | ||
| 480 | { | ||
| 481 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lPush(...\func_get_args()); | ||
| 482 | } | ||
| 483 | |||
| 484 | public function lPushx($key, $value) | ||
| 485 | { | ||
| 486 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lPushx(...\func_get_args()); | ||
| 487 | } | ||
| 488 | |||
| 489 | public function lSet($key, $index, $value) | ||
| 490 | { | ||
| 491 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lSet(...\func_get_args()); | ||
| 492 | } | ||
| 493 | |||
| 494 | public function lastSave() | ||
| 495 | { | ||
| 496 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lastSave(...\func_get_args()); | ||
| 497 | } | ||
| 498 | |||
| 499 | public function lindex($key, $index) | ||
| 500 | { | ||
| 501 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lindex(...\func_get_args()); | ||
| 502 | } | ||
| 503 | |||
| 504 | public function lrange($key, $start, $end) | ||
| 505 | { | ||
| 506 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrange(...\func_get_args()); | ||
| 507 | } | ||
| 508 | |||
| 509 | public function lrem($key, $value, $count) | ||
| 510 | { | ||
| 511 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lrem(...\func_get_args()); | ||
| 512 | } | ||
| 513 | |||
| 514 | public function ltrim($key, $start, $stop) | ||
| 515 | { | ||
| 516 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ltrim(...\func_get_args()); | ||
| 517 | } | ||
| 518 | |||
| 519 | public function mget($keys) | ||
| 520 | { | ||
| 521 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mget(...\func_get_args()); | ||
| 522 | } | ||
| 523 | |||
| 524 | public function migrate($host, $port, $key, $db, $timeout, $copy = null, $replace = null) | ||
| 525 | { | ||
| 526 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->migrate(...\func_get_args()); | ||
| 527 | } | ||
| 528 | |||
| 529 | public function move($key, $dbindex) | ||
| 530 | { | ||
| 531 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->move(...\func_get_args()); | ||
| 532 | } | ||
| 533 | |||
| 534 | public function mset($pairs) | ||
| 535 | { | ||
| 536 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->mset(...\func_get_args()); | ||
| 537 | } | ||
| 538 | |||
| 539 | public function msetnx($pairs) | ||
| 540 | { | ||
| 541 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->msetnx(...\func_get_args()); | ||
| 542 | } | ||
| 543 | |||
| 544 | public function multi($mode = null) | ||
| 545 | { | ||
| 546 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->multi(...\func_get_args()); | ||
| 547 | } | ||
| 548 | |||
| 549 | public function object($field, $key) | ||
| 550 | { | ||
| 551 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->object(...\func_get_args()); | ||
| 552 | } | ||
| 553 | |||
| 554 | public function pconnect($host, $port = null, $timeout = null) | ||
| 555 | { | ||
| 556 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pconnect(...\func_get_args()); | ||
| 557 | } | ||
| 558 | |||
| 559 | public function persist($key) | ||
| 560 | { | ||
| 561 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->persist(...\func_get_args()); | ||
| 562 | } | ||
| 563 | |||
| 564 | public function pexpire($key, $timestamp) | ||
| 565 | { | ||
| 566 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpire(...\func_get_args()); | ||
| 567 | } | ||
| 568 | |||
| 569 | public function pexpireAt($key, $timestamp) | ||
| 570 | { | ||
| 571 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pexpireAt(...\func_get_args()); | ||
| 572 | } | ||
| 573 | |||
| 574 | public function pfadd($key, $elements) | ||
| 575 | { | ||
| 576 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfadd(...\func_get_args()); | ||
| 577 | } | ||
| 578 | |||
| 579 | public function pfcount($key) | ||
| 580 | { | ||
| 581 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfcount(...\func_get_args()); | ||
| 582 | } | ||
| 583 | |||
| 584 | public function pfmerge($dstkey, $keys) | ||
| 585 | { | ||
| 586 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pfmerge(...\func_get_args()); | ||
| 587 | } | ||
| 588 | |||
| 589 | public function ping() | ||
| 590 | { | ||
| 591 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ping(...\func_get_args()); | ||
| 592 | } | ||
| 593 | |||
| 594 | public function pipeline() | ||
| 595 | { | ||
| 596 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pipeline(...\func_get_args()); | ||
| 597 | } | ||
| 598 | |||
| 599 | public function psetex($key, $expire, $value) | ||
| 600 | { | ||
| 601 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psetex(...\func_get_args()); | ||
| 602 | } | ||
| 603 | |||
| 604 | public function psubscribe($patterns, $callback) | ||
| 605 | { | ||
| 606 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->psubscribe(...\func_get_args()); | ||
| 607 | } | ||
| 608 | |||
| 609 | public function pttl($key) | ||
| 610 | { | ||
| 611 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pttl(...\func_get_args()); | ||
| 612 | } | ||
| 613 | |||
| 614 | public function publish($channel, $message) | ||
| 615 | { | ||
| 616 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->publish(...\func_get_args()); | ||
| 617 | } | ||
| 618 | |||
| 619 | public function pubsub($cmd, ...$args) | ||
| 620 | { | ||
| 621 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->pubsub(...\func_get_args()); | ||
| 622 | } | ||
| 623 | |||
| 624 | public function punsubscribe($pattern, ...$other_patterns) | ||
| 625 | { | ||
| 626 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->punsubscribe(...\func_get_args()); | ||
| 627 | } | ||
| 628 | |||
| 629 | public function rPop($key) | ||
| 630 | { | ||
| 631 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rPop(...\func_get_args()); | ||
| 632 | } | ||
| 633 | |||
| 634 | public function rPush($key, $value) | ||
| 635 | { | ||
| 636 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rPush(...\func_get_args()); | ||
| 637 | } | ||
| 638 | |||
| 639 | public function rPushx($key, $value) | ||
| 640 | { | ||
| 641 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rPushx(...\func_get_args()); | ||
| 642 | } | ||
| 643 | |||
| 644 | public function randomKey() | ||
| 645 | { | ||
| 646 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->randomKey(...\func_get_args()); | ||
| 647 | } | ||
| 648 | |||
| 649 | public function rawcommand($cmd, ...$args) | ||
| 650 | { | ||
| 651 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rawcommand(...\func_get_args()); | ||
| 652 | } | ||
| 653 | |||
| 654 | public function rename($key, $newkey) | ||
| 655 | { | ||
| 656 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rename(...\func_get_args()); | ||
| 657 | } | ||
| 658 | |||
| 659 | public function renameNx($key, $newkey) | ||
| 660 | { | ||
| 661 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->renameNx(...\func_get_args()); | ||
| 662 | } | ||
| 663 | |||
| 664 | public function restore($ttl, $key, $value) | ||
| 665 | { | ||
| 666 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->restore(...\func_get_args()); | ||
| 667 | } | ||
| 668 | |||
| 669 | public function role() | ||
| 670 | { | ||
| 671 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->role(...\func_get_args()); | ||
| 672 | } | ||
| 673 | |||
| 674 | public function rpoplpush($src, $dst) | ||
| 675 | { | ||
| 676 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->rpoplpush(...\func_get_args()); | ||
| 677 | } | ||
| 678 | |||
| 679 | public function sAdd($key, $value) | ||
| 680 | { | ||
| 681 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sAdd(...\func_get_args()); | ||
| 682 | } | ||
| 683 | |||
| 684 | public function sAddArray($key, $options) | ||
| 685 | { | ||
| 686 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sAddArray(...\func_get_args()); | ||
| 687 | } | ||
| 688 | |||
| 689 | public function sDiff($key, ...$other_keys) | ||
| 690 | { | ||
| 691 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sDiff(...\func_get_args()); | ||
| 692 | } | ||
| 693 | |||
| 694 | public function sDiffStore($dst, $key, ...$other_keys) | ||
| 695 | { | ||
| 696 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sDiffStore(...\func_get_args()); | ||
| 697 | } | ||
| 698 | |||
| 699 | public function sInter($key, ...$other_keys) | ||
| 700 | { | ||
| 701 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sInter(...\func_get_args()); | ||
| 702 | } | ||
| 703 | |||
| 704 | public function sInterStore($dst, $key, ...$other_keys) | ||
| 705 | { | ||
| 706 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sInterStore(...\func_get_args()); | ||
| 707 | } | ||
| 708 | |||
| 709 | public function sMembers($key) | ||
| 710 | { | ||
| 711 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sMembers(...\func_get_args()); | ||
| 712 | } | ||
| 713 | |||
| 714 | public function sMisMember($key, $member, ...$other_members) | ||
| 715 | { | ||
| 716 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sMisMember(...\func_get_args()); | ||
| 717 | } | ||
| 718 | |||
| 719 | public function sMove($src, $dst, $value) | ||
| 720 | { | ||
| 721 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sMove(...\func_get_args()); | ||
| 722 | } | ||
| 723 | |||
| 724 | public function sPop($key) | ||
| 725 | { | ||
| 726 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sPop(...\func_get_args()); | ||
| 727 | } | ||
| 728 | |||
| 729 | public function sRandMember($key, $count = null) | ||
| 730 | { | ||
| 731 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sRandMember(...\func_get_args()); | ||
| 732 | } | ||
| 733 | |||
| 734 | public function sUnion($key, ...$other_keys) | ||
| 735 | { | ||
| 736 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sUnion(...\func_get_args()); | ||
| 737 | } | ||
| 738 | |||
| 739 | public function sUnionStore($dst, $key, ...$other_keys) | ||
| 740 | { | ||
| 741 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sUnionStore(...\func_get_args()); | ||
| 742 | } | ||
| 743 | |||
| 744 | public function save() | ||
| 745 | { | ||
| 746 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->save(...\func_get_args()); | ||
| 747 | } | ||
| 748 | |||
| 749 | public function scan(&$i_iterator, $str_pattern = null, $i_count = null) | ||
| 750 | { | ||
| 751 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scan($i_iterator, ...\array_slice(\func_get_args(), 1)); | ||
| 752 | } | ||
| 753 | |||
| 754 | public function scard($key) | ||
| 755 | { | ||
| 756 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->scard(...\func_get_args()); | ||
| 757 | } | ||
| 758 | |||
| 759 | public function script($cmd, ...$args) | ||
| 760 | { | ||
| 761 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->script(...\func_get_args()); | ||
| 762 | } | ||
| 763 | |||
| 764 | public function select($dbindex) | ||
| 765 | { | ||
| 766 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->select(...\func_get_args()); | ||
| 767 | } | ||
| 768 | |||
| 769 | public function set($key, $value, $opts = null) | ||
| 770 | { | ||
| 771 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->set(...\func_get_args()); | ||
| 772 | } | ||
| 773 | |||
| 774 | public function setBit($key, $offset, $value) | ||
| 775 | { | ||
| 776 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setBit(...\func_get_args()); | ||
| 777 | } | ||
| 778 | |||
| 779 | public function setOption($option, $value) | ||
| 780 | { | ||
| 781 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setOption(...\func_get_args()); | ||
| 782 | } | ||
| 783 | |||
| 784 | public function setRange($key, $offset, $value) | ||
| 785 | { | ||
| 786 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setRange(...\func_get_args()); | ||
| 787 | } | ||
| 788 | |||
| 789 | public function setex($key, $expire, $value) | ||
| 790 | { | ||
| 791 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setex(...\func_get_args()); | ||
| 792 | } | ||
| 793 | |||
| 794 | public function setnx($key, $value) | ||
| 795 | { | ||
| 796 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setnx(...\func_get_args()); | ||
| 797 | } | ||
| 798 | |||
| 799 | public function sismember($key, $value) | ||
| 800 | { | ||
| 801 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sismember(...\func_get_args()); | ||
| 802 | } | ||
| 803 | |||
| 804 | public function slaveof($host = null, $port = null) | ||
| 805 | { | ||
| 806 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->slaveof(...\func_get_args()); | ||
| 807 | } | ||
| 808 | |||
| 809 | public function slowlog($arg, $option = null) | ||
| 810 | { | ||
| 811 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->slowlog(...\func_get_args()); | ||
| 812 | } | ||
| 813 | |||
| 814 | public function sort($key, $options = null) | ||
| 815 | { | ||
| 816 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sort(...\func_get_args()); | ||
| 817 | } | ||
| 818 | |||
| 819 | public function sortAsc($key, $pattern = null, $get = null, $start = null, $end = null, $getList = null) | ||
| 820 | { | ||
| 821 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sortAsc(...\func_get_args()); | ||
| 822 | } | ||
| 823 | |||
| 824 | public function sortAscAlpha($key, $pattern = null, $get = null, $start = null, $end = null, $getList = null) | ||
| 825 | { | ||
| 826 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sortAscAlpha(...\func_get_args()); | ||
| 827 | } | ||
| 828 | |||
| 829 | public function sortDesc($key, $pattern = null, $get = null, $start = null, $end = null, $getList = null) | ||
| 830 | { | ||
| 831 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sortDesc(...\func_get_args()); | ||
| 832 | } | ||
| 833 | |||
| 834 | public function sortDescAlpha($key, $pattern = null, $get = null, $start = null, $end = null, $getList = null) | ||
| 835 | { | ||
| 836 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sortDescAlpha(...\func_get_args()); | ||
| 837 | } | ||
| 838 | |||
| 839 | public function srem($key, $member, ...$other_members) | ||
| 840 | { | ||
| 841 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->srem(...\func_get_args()); | ||
| 842 | } | ||
| 843 | |||
| 844 | public function sscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null) | ||
| 845 | { | ||
| 846 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 847 | } | ||
| 848 | |||
| 849 | public function strlen($key) | ||
| 850 | { | ||
| 851 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->strlen(...\func_get_args()); | ||
| 852 | } | ||
| 853 | |||
| 854 | public function subscribe($channels, $callback) | ||
| 855 | { | ||
| 856 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->subscribe(...\func_get_args()); | ||
| 857 | } | ||
| 858 | |||
| 859 | public function swapdb($srcdb, $dstdb) | ||
| 860 | { | ||
| 861 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->swapdb(...\func_get_args()); | ||
| 862 | } | ||
| 863 | |||
| 864 | public function time() | ||
| 865 | { | ||
| 866 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->time(...\func_get_args()); | ||
| 867 | } | ||
| 868 | |||
| 869 | public function ttl($key) | ||
| 870 | { | ||
| 871 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->ttl(...\func_get_args()); | ||
| 872 | } | ||
| 873 | |||
| 874 | public function type($key) | ||
| 875 | { | ||
| 876 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->type(...\func_get_args()); | ||
| 877 | } | ||
| 878 | |||
| 879 | public function unlink($key, ...$other_keys) | ||
| 880 | { | ||
| 881 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unlink(...\func_get_args()); | ||
| 882 | } | ||
| 883 | |||
| 884 | public function unsubscribe($channel, ...$other_channels) | ||
| 885 | { | ||
| 886 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unsubscribe(...\func_get_args()); | ||
| 887 | } | ||
| 888 | |||
| 889 | public function unwatch() | ||
| 890 | { | ||
| 891 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->unwatch(...\func_get_args()); | ||
| 892 | } | ||
| 893 | |||
| 894 | public function wait($numslaves, $timeout) | ||
| 895 | { | ||
| 896 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->wait(...\func_get_args()); | ||
| 897 | } | ||
| 898 | |||
| 899 | public function watch($key, ...$other_keys) | ||
| 900 | { | ||
| 901 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->watch(...\func_get_args()); | ||
| 902 | } | ||
| 903 | |||
| 904 | public function xack($str_key, $str_group, $arr_ids) | ||
| 905 | { | ||
| 906 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xack(...\func_get_args()); | ||
| 907 | } | ||
| 908 | |||
| 909 | public function xadd($str_key, $str_id, $arr_fields, $i_maxlen = null, $boo_approximate = null) | ||
| 910 | { | ||
| 911 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xadd(...\func_get_args()); | ||
| 912 | } | ||
| 913 | |||
| 914 | public function xclaim($str_key, $str_group, $str_consumer, $i_min_idle, $arr_ids, $arr_opts = null) | ||
| 915 | { | ||
| 916 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xclaim(...\func_get_args()); | ||
| 917 | } | ||
| 918 | |||
| 919 | public function xdel($str_key, $arr_ids) | ||
| 920 | { | ||
| 921 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xdel(...\func_get_args()); | ||
| 922 | } | ||
| 923 | |||
| 924 | public function xgroup($str_operation, $str_key = null, $str_arg1 = null, $str_arg2 = null, $str_arg3 = null) | ||
| 925 | { | ||
| 926 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xgroup(...\func_get_args()); | ||
| 927 | } | ||
| 928 | |||
| 929 | public function xinfo($str_cmd, $str_key = null, $str_group = null) | ||
| 930 | { | ||
| 931 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xinfo(...\func_get_args()); | ||
| 932 | } | ||
| 933 | |||
| 934 | public function xlen($key) | ||
| 935 | { | ||
| 936 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xlen(...\func_get_args()); | ||
| 937 | } | ||
| 938 | |||
| 939 | public function xpending($str_key, $str_group, $str_start = null, $str_end = null, $i_count = null, $str_consumer = null) | ||
| 940 | { | ||
| 941 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xpending(...\func_get_args()); | ||
| 942 | } | ||
| 943 | |||
| 944 | public function xrange($str_key, $str_start, $str_end, $i_count = null) | ||
| 945 | { | ||
| 946 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrange(...\func_get_args()); | ||
| 947 | } | ||
| 948 | |||
| 949 | public function xread($arr_streams, $i_count = null, $i_block = null) | ||
| 950 | { | ||
| 951 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xread(...\func_get_args()); | ||
| 952 | } | ||
| 953 | |||
| 954 | public function xreadgroup($str_group, $str_consumer, $arr_streams, $i_count = null, $i_block = null) | ||
| 955 | { | ||
| 956 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xreadgroup(...\func_get_args()); | ||
| 957 | } | ||
| 958 | |||
| 959 | public function xrevrange($str_key, $str_start, $str_end, $i_count = null) | ||
| 960 | { | ||
| 961 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xrevrange(...\func_get_args()); | ||
| 962 | } | ||
| 963 | |||
| 964 | public function xtrim($str_key, $i_maxlen, $boo_approximate = null) | ||
| 965 | { | ||
| 966 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->xtrim(...\func_get_args()); | ||
| 967 | } | ||
| 968 | |||
| 969 | public function zAdd($key, $score, $value, ...$extra_args) | ||
| 970 | { | ||
| 971 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zAdd(...\func_get_args()); | ||
| 972 | } | ||
| 973 | |||
| 974 | public function zCard($key) | ||
| 975 | { | ||
| 976 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zCard(...\func_get_args()); | ||
| 977 | } | ||
| 978 | |||
| 979 | public function zCount($key, $min, $max) | ||
| 980 | { | ||
| 981 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zCount(...\func_get_args()); | ||
| 982 | } | ||
| 983 | |||
| 984 | public function zIncrBy($key, $value, $member) | ||
| 985 | { | ||
| 986 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zIncrBy(...\func_get_args()); | ||
| 987 | } | ||
| 988 | |||
| 989 | public function zLexCount($key, $min, $max) | ||
| 990 | { | ||
| 991 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zLexCount(...\func_get_args()); | ||
| 992 | } | ||
| 993 | |||
| 994 | public function zPopMax($key) | ||
| 995 | { | ||
| 996 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zPopMax(...\func_get_args()); | ||
| 997 | } | ||
| 998 | |||
| 999 | public function zPopMin($key) | ||
| 1000 | { | ||
| 1001 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zPopMin(...\func_get_args()); | ||
| 1002 | } | ||
| 1003 | |||
| 1004 | public function zRange($key, $start, $end, $scores = null) | ||
| 1005 | { | ||
| 1006 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRange(...\func_get_args()); | ||
| 1007 | } | ||
| 1008 | |||
| 1009 | public function zRangeByLex($key, $min, $max, $offset = null, $limit = null) | ||
| 1010 | { | ||
| 1011 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRangeByLex(...\func_get_args()); | ||
| 1012 | } | ||
| 1013 | |||
| 1014 | public function zRangeByScore($key, $start, $end, $options = null) | ||
| 1015 | { | ||
| 1016 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRangeByScore(...\func_get_args()); | ||
| 1017 | } | ||
| 1018 | |||
| 1019 | public function zRank($key, $member) | ||
| 1020 | { | ||
| 1021 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRank(...\func_get_args()); | ||
| 1022 | } | ||
| 1023 | |||
| 1024 | public function zRem($key, $member, ...$other_members) | ||
| 1025 | { | ||
| 1026 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRem(...\func_get_args()); | ||
| 1027 | } | ||
| 1028 | |||
| 1029 | public function zRemRangeByLex($key, $min, $max) | ||
| 1030 | { | ||
| 1031 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRemRangeByLex(...\func_get_args()); | ||
| 1032 | } | ||
| 1033 | |||
| 1034 | public function zRemRangeByRank($key, $start, $end) | ||
| 1035 | { | ||
| 1036 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRemRangeByRank(...\func_get_args()); | ||
| 1037 | } | ||
| 1038 | |||
| 1039 | public function zRemRangeByScore($key, $min, $max) | ||
| 1040 | { | ||
| 1041 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRemRangeByScore(...\func_get_args()); | ||
| 1042 | } | ||
| 1043 | |||
| 1044 | public function zRevRange($key, $start, $end, $scores = null) | ||
| 1045 | { | ||
| 1046 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRevRange(...\func_get_args()); | ||
| 1047 | } | ||
| 1048 | |||
| 1049 | public function zRevRangeByLex($key, $min, $max, $offset = null, $limit = null) | ||
| 1050 | { | ||
| 1051 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRevRangeByLex(...\func_get_args()); | ||
| 1052 | } | ||
| 1053 | |||
| 1054 | public function zRevRangeByScore($key, $start, $end, $options = null) | ||
| 1055 | { | ||
| 1056 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRevRangeByScore(...\func_get_args()); | ||
| 1057 | } | ||
| 1058 | |||
| 1059 | public function zRevRank($key, $member) | ||
| 1060 | { | ||
| 1061 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRevRank(...\func_get_args()); | ||
| 1062 | } | ||
| 1063 | |||
| 1064 | public function zScore($key, $member) | ||
| 1065 | { | ||
| 1066 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zScore(...\func_get_args()); | ||
| 1067 | } | ||
| 1068 | |||
| 1069 | public function zinterstore($key, $keys, $weights = null, $aggregate = null) | ||
| 1070 | { | ||
| 1071 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zinterstore(...\func_get_args()); | ||
| 1072 | } | ||
| 1073 | |||
| 1074 | public function zscan($str_key, &$i_iterator, $str_pattern = null, $i_count = null) | ||
| 1075 | { | ||
| 1076 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zscan($str_key, $i_iterator, ...\array_slice(\func_get_args(), 2)); | ||
| 1077 | } | ||
| 1078 | |||
| 1079 | public function zunionstore($key, $keys, $weights = null, $aggregate = null) | ||
| 1080 | { | ||
| 1081 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zunionstore(...\func_get_args()); | ||
| 1082 | } | ||
| 1083 | |||
| 1084 | public function delete($key, ...$other_keys) | ||
| 1085 | { | ||
| 1086 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->delete(...\func_get_args()); | ||
| 1087 | } | ||
| 1088 | |||
| 1089 | public function evaluate($script, $args = null, $num_keys = null) | ||
| 1090 | { | ||
| 1091 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evaluate(...\func_get_args()); | ||
| 1092 | } | ||
| 1093 | |||
| 1094 | public function evaluateSha($script_sha, $args = null, $num_keys = null) | ||
| 1095 | { | ||
| 1096 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->evaluateSha(...\func_get_args()); | ||
| 1097 | } | ||
| 1098 | |||
| 1099 | public function getKeys($pattern) | ||
| 1100 | { | ||
| 1101 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getKeys(...\func_get_args()); | ||
| 1102 | } | ||
| 1103 | |||
| 1104 | public function getMultiple($keys) | ||
| 1105 | { | ||
| 1106 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->getMultiple(...\func_get_args()); | ||
| 1107 | } | ||
| 1108 | |||
| 1109 | public function lGet($key, $index) | ||
| 1110 | { | ||
| 1111 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lGet(...\func_get_args()); | ||
| 1112 | } | ||
| 1113 | |||
| 1114 | public function lGetRange($key, $start, $end) | ||
| 1115 | { | ||
| 1116 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lGetRange(...\func_get_args()); | ||
| 1117 | } | ||
| 1118 | |||
| 1119 | public function lRemove($key, $value, $count) | ||
| 1120 | { | ||
| 1121 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lRemove(...\func_get_args()); | ||
| 1122 | } | ||
| 1123 | |||
| 1124 | public function lSize($key) | ||
| 1125 | { | ||
| 1126 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->lSize(...\func_get_args()); | ||
| 1127 | } | ||
| 1128 | |||
| 1129 | public function listTrim($key, $start, $stop) | ||
| 1130 | { | ||
| 1131 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->listTrim(...\func_get_args()); | ||
| 1132 | } | ||
| 1133 | |||
| 1134 | public function open($host, $port = null, $timeout = null, $retry_interval = null) | ||
| 1135 | { | ||
| 1136 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->open(...\func_get_args()); | ||
| 1137 | } | ||
| 1138 | |||
| 1139 | public function popen($host, $port = null, $timeout = null) | ||
| 1140 | { | ||
| 1141 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->popen(...\func_get_args()); | ||
| 1142 | } | ||
| 1143 | |||
| 1144 | public function renameKey($key, $newkey) | ||
| 1145 | { | ||
| 1146 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->renameKey(...\func_get_args()); | ||
| 1147 | } | ||
| 1148 | |||
| 1149 | public function sContains($key, $value) | ||
| 1150 | { | ||
| 1151 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sContains(...\func_get_args()); | ||
| 1152 | } | ||
| 1153 | |||
| 1154 | public function sGetMembers($key) | ||
| 1155 | { | ||
| 1156 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sGetMembers(...\func_get_args()); | ||
| 1157 | } | ||
| 1158 | |||
| 1159 | public function sRemove($key, $member, ...$other_members) | ||
| 1160 | { | ||
| 1161 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sRemove(...\func_get_args()); | ||
| 1162 | } | ||
| 1163 | |||
| 1164 | public function sSize($key) | ||
| 1165 | { | ||
| 1166 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sSize(...\func_get_args()); | ||
| 1167 | } | ||
| 1168 | |||
| 1169 | public function sendEcho($msg) | ||
| 1170 | { | ||
| 1171 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->sendEcho(...\func_get_args()); | ||
| 1172 | } | ||
| 1173 | |||
| 1174 | public function setTimeout($key, $timeout) | ||
| 1175 | { | ||
| 1176 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->setTimeout(...\func_get_args()); | ||
| 1177 | } | ||
| 1178 | |||
| 1179 | public function substr($key, $start, $end) | ||
| 1180 | { | ||
| 1181 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->substr(...\func_get_args()); | ||
| 1182 | } | ||
| 1183 | |||
| 1184 | public function zDelete($key, $member, ...$other_members) | ||
| 1185 | { | ||
| 1186 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zDelete(...\func_get_args()); | ||
| 1187 | } | ||
| 1188 | |||
| 1189 | public function zDeleteRangeByRank($key, $min, $max) | ||
| 1190 | { | ||
| 1191 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zDeleteRangeByRank(...\func_get_args()); | ||
| 1192 | } | ||
| 1193 | |||
| 1194 | public function zDeleteRangeByScore($key, $min, $max) | ||
| 1195 | { | ||
| 1196 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zDeleteRangeByScore(...\func_get_args()); | ||
| 1197 | } | ||
| 1198 | |||
| 1199 | public function zInter($key, $keys, $weights = null, $aggregate = null) | ||
| 1200 | { | ||
| 1201 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zInter(...\func_get_args()); | ||
| 1202 | } | ||
| 1203 | |||
| 1204 | public function zRemove($key, $member, ...$other_members) | ||
| 1205 | { | ||
| 1206 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRemove(...\func_get_args()); | ||
| 1207 | } | ||
| 1208 | |||
| 1209 | public function zRemoveRangeByScore($key, $min, $max) | ||
| 1210 | { | ||
| 1211 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zRemoveRangeByScore(...\func_get_args()); | ||
| 1212 | } | ||
| 1213 | |||
| 1214 | public function zReverseRange($key, $start, $end, $scores = null) | ||
| 1215 | { | ||
| 1216 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zReverseRange(...\func_get_args()); | ||
| 1217 | } | ||
| 1218 | |||
| 1219 | public function zSize($key) | ||
| 1220 | { | ||
| 1221 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zSize(...\func_get_args()); | ||
| 1222 | } | ||
| 1223 | |||
| 1224 | public function zUnion($key, $keys, $weights = null, $aggregate = null) | ||
| 1225 | { | ||
| 1226 | return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->zUnion(...\func_get_args()); | ||
| 1227 | } | ||
| 1228 | } | ||
