You are here

public function HttpHeader::set in RESTful 7.2

Sets the values.

Parameters

array $values: A numeric array containing all the values for the given header.

Overrides HttpHeaderInterface::set

File

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

Class

HttpHeader

Namespace

Drupal\restful\Http

Code

public function set($values) {
  $this->values = $values;
}