You are here

public function HttpHeader::__construct in RESTful 7.2

Constructor.

File

src/Http/HttpHeader.php, line 43
Contains \Drupal\restful\Http\HttpHeader

Class

HttpHeader

Namespace

Drupal\restful\Http

Code

public function __construct($name, array $values, $extras) {
  $this->name = $name;
  $this->id = static::generateId($name);
  $this->values = $values;
  $this->extras = $extras;
}