mini\Mail\EmailInterface::getHeaderLine() Method

public abstract

Signature

public abstract function getHeaderLine(string $name): string

Parameters

Name Type Default Description
$name string required Documentation missing

Returns

string

Documentation

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.

If the header does not appear in the message, this method MUST return an empty string.

Inherited From

Psr\Http\Message\MessageInterface

Source

MessageInterface.php:115