Property | Type | Description | |
---|---|---|---|
$attachments | array of Attachment | ||
$client | Alex\MailCatcher\Client | ||
$createdAt | DateTime | ||
$formats | array | ||
$id | integer | ||
$recipients | array of Person | ||
$sender | Alex\MailCatcher\Person | ||
$size | integer | ||
$subject | string | ||
$type | string |
Method | Description | |
---|---|---|
__construct ( Alex\MailCatcher\Client $client, array $data = [] ) | Constructor | |
delete ( ) : string | ||
getAttachments ( ) : array | ||
getContent ( ) : string | ||
getCreatedAt ( ) : DateTime | ||
getFormats ( ) : array | ||
getHeaders ( ) : Alex\MailCatcher\Mime\HeaderBag | ||
getId ( ) : integer | ||
getRecipients ( ) : array | ||
getSender ( ) : Alex\MailCatcher\Person | ||
getSize ( ) : integer | ||
getSubject ( ) : string | ||
getType ( ) : string | ||
hasAttachments ( ) : boolean | ||
hasFormat ( $format ) : boolean | ||
isPlain ( ) : boolean | ||
loadFromArray ( array $array ) : |
||
match ( array $criterias ) : boolean |
Method | Description | |
---|---|---|
hydrate ( ) |
public __construct ( Alex\MailCatcher\Client $client, array $data = [] ) | ||
$client | Alex\MailCatcher\Client | |
$data | array |
public getHeaders ( ) : Alex\MailCatcher\Mime\HeaderBag | ||
return | Alex\MailCatcher\Mime\HeaderBag |
public getSender ( ) : Alex\MailCatcher\Person | ||
return | Alex\MailCatcher\Person |
public loadFromArray ( array $array ) : |
||
$array | array | |
return |
protected Client,Alex\MailCatcher $client | ||
return | Alex\MailCatcher\Client |
protected Person,Alex\MailCatcher $sender | ||
return | Alex\MailCatcher\Person |