RecursiveDirectoryIterator::rewind
RecursiveIteratorIterator::current
Iterators
PHP Manual

# The RecursiveIteratorIterator class

## Introducción

...

## Class synopsis

RecursiveIteratorIterator
RecursiveIteratorIterator implements OuterIterator , Traversable , Iterator {
/* Methods */
mixed current ( void )
int getDepth ( void )
RecursiveIterator getSubIterator ( void )
mixed key ( void )
void next ( void )
void rewind ( void )
bool valid ( void )
}

## Table of Contents

- RecursiveIteratorIterator::current — Access the current element value
- RecursiveIteratorIterator::getDepth — Get the current depth of the recursive iteration
- RecursiveIteratorIterator::getSubIterator — The current active sub iterator
- RecursiveIteratorIterator::key — Access the current key
- RecursiveIteratorIterator::next — Move forward to the next element
- RecursiveIteratorIterator::rewind — Rewind the iterator to the first element of the top level inner iterator
- RecursiveIteratorIterator::valid — Check whether the current position is valid

RecursiveDirectoryIterator::rewind
RecursiveIteratorIterator::current
Iterators
PHP Manual