public function hmset($key, ...$dictionary)
    {
        $this->init();
        if (is_array($dictionary[0])) {
            $result = $this->driver->hmset($key, ...$dictionary);
            return $this->transformResult($result);
        }
        $dictionary = $this->prepareKeyValue($dictionary, 'hmset');
        $result = $this->driver->hmset($key, $dictionary);
        return $this->transformResult($result);
    }
public function hmset($key, ...$dictionary)
    {
        $this->init();
        if (is_array($dictionary[0])) {
            $result = $this->driver->hmset($key, ...$dictionary);
            return $this->transformResult($result);
        }
        $dictionary = $this->prepareKeyValue($dictionary, 'hmset');
        $result = $this->driver->hmset($key, $dictionary);
        return $this->transformResult($result);
    }
public function hmset ( $ key , ... $ dictionary ) { $ this -> init ( ) ; if ( is_array ( $ dictionary [ 0 ] ) ) { $ result = $ this -> driver -> hmset ( $ key , ... $ dictionary ) ; return $ this -> transformResult ( $ result ) ; } $ dictionary = $ this -> prepareKeyValue ( $ dictionary , 'hmset' ) ; $ result = $ this -> driver -> hmset ( $ key , $ dictionary ) ; return $ this -> transformResult ( $ result ) ; }
Set multiple values to multiple hash fields
@param string $key
@param array $dictionary
@return boolean true on success
@throws RedisProxyException if number of arguments is wrong
Set multiple values to multiple hash fields