PendingMailFake
class PendingMailFake extends PendingMail
Properties
protected array | $mailer | The mailer instance. |
from PendingMail |
protected array | $to | The "to" recipients of the message. |
from PendingMail |
protected array | $cc | The "cc" recipients of the message. |
from PendingMail |
protected array | $bcc | The "bcc" recipients of the message. |
from PendingMail |
Methods
void
mixed
from
PendingMail
Details
at line 16
void
__construct(Mailer $mailer)
Create a new instance.
in
PendingMail at line 54
$this
to(mixed $users)
Set the recipients of the message.
in
PendingMail at line 67
$this
cc(mixed $users)
Set the recipients of the message.
in
PendingMail at line 80
$this
bcc(mixed $users)
Set the recipients of the message.
at line 27
mixed
send(Mailable $mailable)
Send a new mailable message instance.
at line 38
mixed
sendNow(Mailable $mailable)
Send a mailable message immediately.
at line 49
mixed
queue(Mailable $mailable)
Push the given mailable onto the queue.
in
PendingMail at line 137
mixed
later(DateTime|int $delay, Mailable $mailable)
Deliver the queued message after the given delay.
in
PendingMail at line 148
protected Mailable
fill(Mailable $mailable)
Populate the mailable with the addresses.