src/GeneratorCollection.php
public function values(): CollectionInterface
    {
        return $this->wrap(function (Iterator $data) {
            foreach ($data as $item) {
                yield $item;
            }
        });
    }
public function values(): CollectionInterface
    {
        return $this->wrap(function (Iterator $data) {
            foreach ($data as $item) {
                yield $item;
            }
        });
    }
public function values ( ) : CollectionInterface { return $ this -> wrap ( function ( Iterator $ data ) { foreach ( $ data as $ item ) { yield $ item ; } } ) ; }
Reset the keys on the underlying array.

@return CollectionInterface
Reset the keys on the underlying array .