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

# Class AppendIterator

AppendIterator that is not affected by https://bugs.php.net/bug.php?id=49104

  IteratorIterator implements Iterator, Traversable, OuterIterator
  AppendIterator
  Guzzle\Iterator\AppendIterator

Namespace: Guzzle\Iterator
Located at Guzzle/Iterator/AppendIterator.php

## Methods summary

- `public` `append ( Iterator $iterator )`

  Works around the bug in which PHP calls rewind() and next() when appending

## Methods detail

# `public`
`append( `Iterator` $iterator )`

Works around the bug in which PHP calls rewind() and next() when appending

#### Parameters

$iterator
  ``Iterator``
  $iterator Iterator to append

#### Overrides

`AppendIterator::append`

### Methods inherited from AppendIterator

`__construct()`, `current()`, `getArrayIterator()`, `getInnerIterator()`, `getIteratorIndex()`, `key()`, `next()`, `rewind()`, `valid()`

### Magic methods summary