PHP 클래스 Alex\MailCatcher\Message

저자: Alexandre Salomé ([email protected])
상속: extends Alex\MailCatcher\Mime\Message
파일 보기 프로젝트 열기: alexandresalome/mailcatcher 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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