package Default

 Methods

Assert that the header value is valid.

assertValid(string $value) : void
Static

Raises an exception if invalid.

Parameters

$value

string

Exceptions

\Zend\Mail\Header\Exception\RuntimeException

Filter the header value according to RFC 2822

filter(string $value) : string
Static
see (section 2.2)

Parameters

$value

string

Returns

string

Determine if the header value contains any invalid characters.

isValid(string $value) : boolean
Static
see (section 2.2)

Parameters

$value

string

Returns

boolean

No public constructor.

__construct()