public function Header::normalize

Normalize the header into a single standard header with an array of values

Return value

Header

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Header.php, line 125

Class

Header
Represents a header and all of the values stored by that header

Namespace

Guzzle\Http\Message

Code

public function normalize() {
  $this
    ->clearCache();
  $this->values = array(
    $this
      ->getName() => $this
      ->toArray(),
  );
  return $this;
}