Class HeaderName

Summary

Fully Qualified Name: Zend\Mail\Header\HeaderName

Description

Methods

Name Description Defined By
assertValid() Assert that the header name is valid. HeaderName
filter() Filter the header name according to RFC 2822 HeaderName
isValid() Determine if the header name contains any invalid characters. HeaderName

Method Details

assertValid()

Assert that the header name is valid.

Raises an exception if invalid.

Parameter Name Type Description
$name string

Returns: void

filter()

Filter the header name according to RFC 2822

Parameter Name Type Description
$name string

Returns: string

isValid()

Determine if the header name contains any invalid characters.

Parameter Name Type Description
$name string

Returns: bool

Top