Requests_Utility_CaseInsensitiveDictionary::__construct()publicWP 1.0

Creates a case insensitive dictionary.

Метод класса: Requests_Utility_CaseInsensitiveDictionary{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Requests_Utility_CaseInsensitiveDictionary = new Requests_Utility_CaseInsensitiveDictionary();
$Requests_Utility_CaseInsensitiveDictionary->__construct( $data );
$data(массив)
Dictionary/map to convert to case-insensitive
По умолчанию: array()

Код Requests_Utility_CaseInsensitiveDictionary::__construct() WP 6.1.1

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