public function values()
    {
        $values = [];
        if ($this instanceof \Traversable) {
            foreach ($this as $key => $value) {
                $values [] = $value instanceof FiniteIterableInterface ? $value->values() : $value;
            }
        }
        return $values;
    }
public function values()
    {
        $values = [];
        if ($this instanceof \Traversable) {
            foreach ($this as $key => $value) {
                $values [] = $value instanceof FiniteIterableInterface ? $value->values() : $value;
            }
        }
        return $values;
    }
public function values ( ) { $ values = [ ] ; if ( $ this instanceof \ Traversable ) { foreach ( $ this as $ key => $ value ) { $ values [ ] = $ value instanceof FiniteIterableInterface ? $ value -> values ( ) : $ value ; } } return $ values ; }
Returns an array with values from this iterator

@return array
Returns an array with values from this iterator