source/Redis/Connection.php
public function mget(array $keys) {
        try {
            $result = $this->getRedis()->mGet($keys);
            if ($result !== false) {
                return array_combine($keys, $result);
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function mget(array $keys) {
        try {
            $result = $this->getRedis()->mGet($keys);
            if ($result !== false) {
                return array_combine($keys, $result);
            }
            throw new ImpossibleValueException();
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function mget ( array $ keys ) { try { $ result = $ this -> getRedis ( ) -> mGet ( $ keys ) ; if ( $ result !== false ) { return array_combine ( $ keys , $ result ) ; } throw new ImpossibleValueException ( ) ; } catch ( RedisException $ ex ) { throw new ConnectException ( ) ; } }
Get multiple keys values
@param array $keys keys
@return array values
@throws ConnectException exception on connection to redis instance
Get multiple keys values