public function HttpHeader::append in RESTful 7.2
Appends a value into a header.
Parameters
string $value: The string value to append.
Overrides HttpHeaderInterface::append
File
- src/
Http/ HttpHeader.php, line 101 - Contains \Drupal\restful\Http\HttpHeader
Class
Namespace
Drupal\restful\HttpCode
public function append($value) {
// Ignore the extras.
list(, $values) = static::parseHeaderValue($value);
foreach ($values as $value) {
$this->values[] = $value;
}
}