NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class IteratorIterator

  IteratorIterator implements Iterator, Traversable, OuterIterator

### Direct known subclasses

`AppendIterator`, `Aws\CloudTrail\LogFileIterator`, `FilterIterator`, `Guzzle\Iterator\ChunkedIterator`, `Guzzle\Iterator\MapIterator`, `Guzzle\Iterator\MethodProxyIterator`

### Indirect known subclasses

`Aws\S3\Sync\ChangedFilesIterator`, `Guzzle\Iterator\AppendIterator`, `Guzzle\Iterator\FilterIterator`

PHP Extension: SPL
Documented at php.net

## Methods summary

- `public` `__construct ( Traversable $iterator )`
- `public` `rewind ( )`
- `public` `valid ( )`
- `public` `key ( )`
- `public` `current ( )`
- `public` `next ( )`
- `public` `getInnerIterator ( )`

## Methods detail

# `public`
`__construct( `Traversable` $iterator )`
# `public`
`rewind( )`

#### Implementation of

`Iterator::rewind()`
# `public`
`valid( )`

#### Implementation of

`Iterator::valid()`
# `public`
`key( )`

#### Implementation of

`Iterator::key()`
# `public`
`current( )`

#### Implementation of

`Iterator::current()`
# `public`
`next( )`

#### Implementation of

`Iterator::next()`
# `public`
`getInnerIterator( )`

#### Implementation of

`OuterIterator::getInnerIterator()`

### Magic methods summary