mini\Mail\EmailInterface::withoutHeader() Method

public abstract

Signature

public abstract function withoutHeader(string $name): Psr\Http\Message\MessageInterface

Parameters

Name Type Default Description
$name string required Documentation missing

Returns

Psr\Http\Message\MessageInterface

Documentation

Return an instance without the specified header.

Header resolution MUST be done without case-sensitivity.

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that removes the named header.

Inherited From

Psr\Http\Message\MessageInterface

Source

MessageInterface.php:164