W3cubDocs

/WordPress

Requests_Response_Headers::getIterator()

Get an iterator for the data

Description

Converts the internal

Return

(ArrayIterator)

Source

File: wp-includes/Requests/Response/Headers.php

public function getIterator() {
		return new Requests_Utility_FilteredIterator($this->data, array($this, 'flatten'));
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_response_headers/getiterator