mini\Mail\EmailInterface::hasHeader() Method

public abstract

Signature

public abstract function hasHeader(string $name): bool

Parameters

Name Type Default Description
$name string required Documentation missing

Returns

bool

Documentation

Checks if a header exists by the given case-insensitive name.

Inherited From

Psr\Http\Message\MessageInterface

Source

MessageInterface.php:78