CaseInsensitiveDictionary::__construct( array $data = array() )

In this article

Creates a case insensitive dictionary.

Parameters

$dataarrayoptional
Dictionary/map to convert to case-insensitive

Default:array()

Source

public function __construct(array $data = []) {
	foreach ($data as $offset => $value) {
		$this->offsetSet($offset, $value);
	}
}

User Contributed Notes

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