public function Header::__toString

Convert the header to a string

Return value

string

File

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

Class

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

Namespace

Guzzle\Http\Message

Code

public function __toString() {
  if (!$this->stringCache) {
    $this->stringCache = implode($this->glue, $this
      ->toArray());
  }
  return $this->stringCache;
}