public function ExceptionCollection::getIterator

Allows array-like iteration over the request exceptions

Return value

\ArrayIterator

File

drupal/core/vendor/guzzle/common/Guzzle/Common/Exception/ExceptionCollection.php, line 68

Class

ExceptionCollection
Collection of exceptions

Namespace

Guzzle\Common\Exception

Code

public function getIterator() {
  return new \ArrayIterator($this->exceptions);
}