123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
-
-
-
- namespace Symfony\Component\Cache\Traits;
-
-
- class RedisClusterNodeProxy
- {
- private $host;
- private $redis;
-
-
-
- public function __construct(array $host, $redis)
- {
- $this->host = $host;
- $this->redis = $redis;
- }
-
- public function __call(string $method, array $args)
- {
- return $this->redis->{$method}($this->host, ...$args);
- }
-
- public function scan(&$iIterator, $strPattern = null, $iCount = null)
- {
- return $this->redis->scan($iIterator, $this->host, $strPattern, $iCount);
- }
- }
|