mini\Http\Message\ServerRequest::getHeader()
Method
public
Signature
public function getHeader($name): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$name |
mixed | required | Documentation missing |
Returns
array
Documentation
Retrieves a message header value by the given case-insensitive name.
This method returns an array of all the header values of the given case-insensitive header name.
If the header does not appear in the message, this method MUST return an empty array.