Property | Type | Description | |
---|---|---|---|
$from | string | Holds who a message came from. | |
$id | string | Holds the message ID. | |
$message | string | Holds the message body. | |
$raw | mixed | Holds the raw data from a provider. | |
$to | string | Holds the to address. |
Method | Description | |
---|---|---|
from ( ) : string | Returns the from address. | |
id ( ) : string | Returns the message id. | |
message ( ) : string | Returns the message body. | |
raw ( ) : mixed | Returns the raw data. | |
setFrom ( string $from ) | Sets the from address. | |
setId ( string $id ) | Sets the message id. | |
setMessage ( string $message ) | Sets the message body. | |
setRaw ( mixed $raw ) | Sets the raw data. | |
setTo ( string $to ) | Sets the to address. | |
to ( ) : string | Returns the to address. |
public setMessage ( string $message ) | ||
$message | string |