Fully Qualified Name: | Laminas\Mail\Header\StructuredInterface |
Extends: | HeaderInterface |
Name | Description | Defined By |
---|---|---|
fromString() | Factory to generate a header object from a string | HeaderInterface |
getDelimiter() | Return the delimiter at which a header line should be wrapped | StructuredInterface |
getEncoding() | Get header encoding | HeaderInterface |
getFieldName() | Retrieve header name | HeaderInterface |
getFieldValue() | Retrieve header value | HeaderInterface |
setEncoding() | Set header encoding | HeaderInterface |
toString() | Cast to string | HeaderInterface |
Factory to generate a header object from a string
Parameter Name | Type | Description |
---|---|---|
$headerLine | string |
Returns: static
Return the delimiter at which a header line should be wrapped
Returns: string
Get header encoding
Returns: string
Retrieve header name
Returns: string
Retrieve header value
Parameter Name | Type | Description |
---|---|---|
$format | bool | Return |
Returns: string
Set header encoding
Parameter Name | Type | Description |
---|---|---|
$encoding | string |
Returns: $this
Cast to string
Returns in form of "NAME: VALUE"
Returns: string