src/RedObject/HashSet.php
public function toArray()
    {
        $keys = $this->redis->hKeys($this->key);
        $result = array();
        foreach ($keys as $key) {
            $result[$key] = $this->offsetGet($key);
        }
        return $result;
    }
public function toArray()
    {
        $keys = $this->redis->hKeys($this->key);
        $result = array();
        foreach ($keys as $key) {
            $result[$key] = $this->offsetGet($key);
        }
        return $result;
    }
public function toArray ( ) { $ keys = $ this -> redis -> hKeys ( $ this -> key ) ; $ result = array ( ) ; foreach ( $ keys as $ key ) { $ result [ $ key ] = $ this -> offsetGet ( $ key ) ; } return $ result ; }
Converts the hashset to an php-array
@return array
Converts the hashset to an php - array