mini\Mail\EmailInterface::getHeader() Method

public abstract

Signature

public abstract function getHeader(string $name): array

Parameters

Name Type Default Description
$name string 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.

Inherited From

Psr\Http\Message\MessageInterface

Source

MessageInterface.php:94