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