WpOrg\Requests\Utility
CaseInsensitiveDictionary::__construct()
Creates a case insensitive dictionary.
Method of the class: CaseInsensitiveDictionary{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CaseInsensitiveDictionary = new CaseInsensitiveDictionary(); $CaseInsensitiveDictionary->__construct( $data );
- $data(array)
- Dictionary/map to convert to case-insensitive
Default: []
CaseInsensitiveDictionary::__construct() CaseInsensitiveDictionary:: construct code WP 6.6.2
public function __construct(array $data = []) { foreach ($data as $offset => $value) { $this->offsetSet($offset, $value); } }