Requests_Response_Headers::flatten()
最后更新于:2021-11-26 04:02:59
Requests_Response_Headers::flatten( string|array$value)Flattens a value into a string
参数
- $value
-
(string|array) (Required) Value to flatten
响应
(string) Flattened value
源文件
文件: gc-includes/Requests/Response/Headers.php
public function flatten($value) {
if (is_array($value)) {
$value = implode(',', $value);
}
return $value;
}