Class GenericHeader

Summary

Fully Qualified Name: Laminas\Mail\Header\GenericHeader
Implements: HeaderInterface, UnstructuredInterface

Description

Methods

Name Description Defined By
__construct() Constructor GenericHeader
fromString() GenericHeader
getEncoding() GenericHeader
getFieldName() GenericHeader
getFieldValue() GenericHeader
setEncoding() GenericHeader
setFieldName() GenericHeader
setFieldValue() GenericHeader
splitHeaderLine() Splits the header line in `name` and `value` parts. GenericHeader
toString() GenericHeader

Method Details

__construct()

Constructor

Parameter Name Type Description
$fieldName string Optional
$fieldValue string Optional

Returns:

fromString()

Parameter Name Type Description
$headerLine string

Returns: \GenericHeader

getEncoding()

Returns: void

getFieldName()

Returns: void

getFieldValue()

Parameter Name Type Description
$format

Returns: void

setEncoding()

Parameter Name Type Description
$encoding

Returns: void

setFieldName()

Parameter Name Type Description
$fieldName

Returns: void

setFieldValue()

Parameter Name Type Description
$fieldValue

Returns: void

splitHeaderLine()

Splits the header line in `name` and `value` parts.

Parameter Name Type Description
$headerLine string

Returns: string[] `name` in the first index and `value` in the second.

toString()

Returns: void

Top