@@ -25,6 +25,7 @@ class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);
25
25
*/
26
26
class Redis6Proxy extends \Redis implements ResetInterface, LazyObjectInterface
27
27
{
28
+ use Redis6ProxyTrait;
28
29
use LazyProxyTrait {
29
30
resetLazyObject as reset;
30
31
}
@@ -226,11 +227,6 @@ public function discard(): \Redis|bool
226
227
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->discard (...\func_get_args ());
227
228
}
228
229
229
- public function dump ($ key ): \Redis |string
230
- {
231
- return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->dump (...\func_get_args ());
232
- }
233
-
234
230
public function echo ($ str ): \Redis |false |string
235
231
{
236
232
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->echo (...\func_get_args ());
@@ -511,16 +507,6 @@ public function hMset($key, $fieldvals): \Redis|bool
511
507
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->hMset (...\func_get_args ());
512
508
}
513
509
514
- public function hRandField ($ key , $ options = null ): \Redis |array |string
515
- {
516
- return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->hRandField (...\func_get_args ());
517
- }
518
-
519
- public function hSet ($ key , $ member , $ value ): \Redis |false |int
520
- {
521
- return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->hSet (...\func_get_args ());
522
- }
523
-
524
510
public function hSetNx ($ key , $ field , $ value ): \Redis |bool
525
511
{
526
512
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->hSetNx (...\func_get_args ());
@@ -651,11 +637,6 @@ public function ltrim($key, $start, $end): \Redis|bool
651
637
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->ltrim (...\func_get_args ());
652
638
}
653
639
654
- public function mget ($ keys ): \Redis |array
655
- {
656
- return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->mget (...\func_get_args ());
657
- }
658
-
659
640
public function migrate ($ host , $ port , $ key , $ dstdb , $ timeout , $ copy = false , $ replace = false , #[\SensitiveParameter] $ credentials = null ): \Redis |bool
660
641
{
661
642
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->migrate (...\func_get_args ());
@@ -866,11 +847,6 @@ public function sPop($key, $count = 0): \Redis|array|false|string
866
847
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->sPop (...\func_get_args ());
867
848
}
868
849
869
- public function sRandMember ($ key , $ count = 0 ): \Redis |array |false |string
870
- {
871
- return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->sRandMember (...\func_get_args ());
872
- }
873
-
874
850
public function sUnion ($ key , ...$ other_keys ): \Redis |array |false
875
851
{
876
852
return ($ this ->lazyObjectState ->realInstance ??= ($ this ->lazyObjectState ->initializer )())->sUnion (...\func_get_args ());
0 commit comments