Get an iterator that can be used to easily iterate over each header value
Return value
\ArrayIterator
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Header.php, line 237
Class
- Header
- Represents a header and all of the values stored by that header
Namespace
Guzzle\Http\Message
Code
public function getIterator() {
return new \ArrayIterator($this
->toArray());
}