TestMailer
class TestMailer implements Mailer
Methods
clearEmails()
Clear the log of emails sent
array|null
findEmail(string $to, string $from = null, string $subject = null, string $content = null)
Search for an email that was sent.
Details
at line 15
bool
send(Email $email)
at line 78
clearEmails()
Clear the log of emails sent
at line 94
array|null
findEmail(string $to, string $from = null, string $subject = null, string $content = null)
Search for an email that was sent.
All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.