You are here

public function Client::setHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/fabpot/goutte/Goutte/Client.php \Goutte\Client::setHeader()

File

vendor/fabpot/goutte/Goutte/Client.php, line 53

Class

Client
Client.

Namespace

Goutte

Code

public function setHeader($name, $value) {
  $this->headers[$name] = $value;
  return $this;
}