Requests_Utility_CaseInsensitiveDictionary::__construct

Advertisement

Summery Summery

Creates a case insensitive dictionary.

Syntax Syntax

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

Parameters Parameters

$data

(array) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.