Requests_Utility_CaseInsensitiveDictionary::__construct()
最后更新于:2021-11-26 04:09:35
Requests_Utility_CaseInsensitiveDictionary::__construct( array$data=array())Creates a case insensitive dictionary.
参数
- $data
-
(array) (Optional) Dictionary/map to convert to case-insensitive
Default value: array()
源文件
文件: gc-includes/Requests/Utility/CaseInsensitiveDictionary.php
public function __construct(array $data = array()) {
foreach ($data as $key => $value) {
$this->offsetSet($key, $value);
}
}