Message
Less than 1 minute
Message
Properties
crlf
protected string $crlf
parts
private array $parts
headers
private array $headers
msgid
private string $msgid
boundary
private string $boundary
Methods
__construct
public __construct({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$parts | array | |
$headers | array |
__toString
public __toString({Array})
addPart
public addPart({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$part | Part |
addHeaders
public addHeaders({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$headers | string |
getHeaders
public getHeaders({Array})
getHeader
public getHeader({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$name | string |
getParts
public getParts({Array})
findPart
public findPart({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$content_type | string |
encode
public encode({Array})
decode
public decode({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$data | string |
parseMessageHeaders
public parseMessageHeaders({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$content | string |
jsonSerialize
public jsonSerialize({Array})
Generated by Hazaar API Doc Generator