public getResponseHeader ( string $header ) : string | ||
$header | string | |
return | string |
public function getResponseHeader($header)
{
if (!isset($this->responseHeaders[$header])) {
throw new \InvalidArgumentException('Header does not exist');
}
return $this->responseHeaders[$header];
}