Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
hydrate ( ) |
public __construct ( Alex\MailCatcher\Client $client, array $data = [] ) | ||
$client | Alex\MailCatcher\Client | |
$data | array |
public getAttachments ( ) : array | ||
Результат | array | array of Attachment |
public getHeaders ( ) : Alex\MailCatcher\Mime\HeaderBag | ||
Результат | Alex\MailCatcher\Mime\HeaderBag |
public getSender ( ) : Alex\MailCatcher\Person | ||
Результат | Alex\MailCatcher\Person |
public loadFromArray ( array $array ) : |
||
$array | array | |
Результат |
protected Client,Alex\MailCatcher $client | ||
Результат | Alex\MailCatcher\Client |
protected Person,Alex\MailCatcher $sender | ||
Результат | Alex\MailCatcher\Person |