public function HttpHeader::__construct in RESTful 7.2
Constructor.
File
- src/
Http/ HttpHeader.php, line 43 - Contains \Drupal\restful\Http\HttpHeader
Class
Namespace
Drupal\restful\HttpCode
public function __construct($name, array $values, $extras) {
$this->name = $name;
$this->id = static::generateId($name);
$this->values = $values;
$this->extras = $extras;
}