PHP Класс Alex\MailCatcher\Message

Автор: Alexandre Salomé ([email protected])
Наследование: extends Alex\MailCatcher\Mime\Message
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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 ) : Message
match ( array $criterias ) : boolean

Приватные методы

Метод Описание
hydrate ( )

Описание методов

__construct() публичный метод

Constructor
public __construct ( Alex\MailCatcher\Client $client, array $data = [] )
$client Alex\MailCatcher\Client
$data array

delete() публичный метод

public delete ( ) : string
Результат string

getAttachments() публичный метод

public getAttachments ( ) : array
Результат array array of Attachment

getContent() публичный метод

public getContent ( ) : string
Результат string

getCreatedAt() публичный метод

public getCreatedAt ( ) : DateTime
Результат DateTime

getFormats() публичный метод

public getFormats ( ) : array
Результат array

getHeaders() публичный метод

public getHeaders ( ) : Alex\MailCatcher\Mime\HeaderBag
Результат Alex\MailCatcher\Mime\HeaderBag

getId() публичный метод

public getId ( ) : integer
Результат integer

getRecipients() публичный метод

public getRecipients ( ) : array
Результат array

getSender() публичный метод

public getSender ( ) : Alex\MailCatcher\Person
Результат Alex\MailCatcher\Person

getSize() публичный метод

public getSize ( ) : integer
Результат integer

getSubject() публичный метод

public getSubject ( ) : string
Результат string

getType() публичный метод

public getType ( ) : string
Результат string

hasAttachments() публичный метод

public hasAttachments ( ) : boolean
Результат boolean

hasFormat() публичный метод

public hasFormat ( $format ) : boolean
$format
Результат boolean

isPlain() публичный метод

public isPlain ( ) : boolean
Результат boolean

loadFromArray() публичный метод

public loadFromArray ( array $array ) : Message
$array array
Результат Message

match() публичный метод

public match ( array $criterias ) : boolean
$criterias array
Результат boolean

Описание свойств

$attachments защищенное свойство

array of Attachment
protected $attachments

$client защищенное свойство

protected Client,Alex\MailCatcher $client
Результат Alex\MailCatcher\Client

$createdAt защищенное свойство

protected DateTime $createdAt
Результат DateTime

$formats защищенное свойство

protected array $formats
Результат array

$id защищенное свойство

protected int $id
Результат integer

$recipients защищенное свойство

array of Person
protected $recipients

$sender защищенное свойство

protected Person,Alex\MailCatcher $sender
Результат Alex\MailCatcher\Person

$size защищенное свойство

protected int $size
Результат integer

$subject защищенное свойство

protected string $subject
Результат string

$type защищенное свойство

protected string $type
Результат string