Requests_Utility_CaseInsensitiveDictionary::__construct

Advertisement

Summery Summery

Creates a case insensitive dictionary.

Syntax Syntax

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

Parameters Parameters

$data

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

Default value: array()

Source Source

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

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

Advertisement

Advertisement

Leave a Reply