Headers::getIterator(): ArrayIterator

In this article

Get an iterator for the data

Description

Converts the internally stored values to a comma-separated string if there is more than one value for a key.

Return

ArrayIterator

Source

public function getIterator() {
	return new FilteredIterator($this->data, [$this, 'flatten']);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.