public function getHeader(string
$name) { return $this->
header($name);
} /**
* Determines whether a header exists.
*/
public function hasHeader(string
$name): bool
{ $origName =
$this->
getHeaderName($name);
return isset($this->headers
[$origName]);
} /**
* Retrieves a comma-separated string of the values for a single header.
*
* This method returns all of the header values of the given
* case-insensitive header name as a string concatenated together using
* a comma.
*
* NOTE: Not all header values may be appropriately represented using
* comma concatenation. For such headers, use getHeader() instead
* and supply your own delimiter when concatenating.
*/