W3cubDocs

/WordPress

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

Creates a case insensitive dictionary.

Parameters

$data

(array) (Optional) Dictionary/map to convert to case-insensitive

Default value: array()

Source

File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php

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

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