TestMailer
class TestMailer implements Mailer (View source)
Properties
protected deprecated | array | $emailsSent |
Methods
public
array|null
findEmail(string $to, string $from = null, string $subject = null, string $content = null)
Search for an email that was sent.
Details
bool
send(Email $email)
No description
protected
saveEmail(array $data)
deprecated
deprecated
Save a single email to the log
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.
All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.