\Cake\TestSuite\Constraint\EmailMailSentFrom

MailSentFromConstraint

Summary

Methods
Properties
Constants
__construct()
matches()
toString()
getEmails()
No public properties found
No constants found
No protected methods found
$method
$at
N/A
No private methods found
No private properties found
N/A

Properties

$method

$method : 

Type

$at

$at : 

Type

Methods

__construct()

__construct(integer  $at = null) : void

Constructor

Parameters

integer $at

At

matches()

matches(mixed  $other) : boolean

Checks constraint

Parameters

mixed $other

Constraint check

Returns

boolean

toString()

toString() : string

Assertion message string

Returns

string

getEmails()

getEmails() : array<mixed,\Cake\Mailer\Email>

Gets the email or emails to check

Returns

array<mixed,\Cake\Mailer\Email>