Requests_Utility_CaseInsensitiveDictionary::offsetGet

Advertisement

Summery Summery

Get the value for the item

Syntax Syntax

Requests_Utility_CaseInsensitiveDictionary::offsetGet( string $key )

Parameters Parameters

$key

(Required) Item key

Return Return

(string) Item value

Source Source

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

	public function offsetGet($key) {
		$key = strtolower($key);
		if (!isset($this->data[$key])) {
			return null;
		}

		return $this->data[$key];
	}

Advertisement

Advertisement

Leave a Reply