Documentation

PendingMailFake extends PendingMail
in package

Table of Contents

$bcc  : array<string|int, mixed>
The "bcc" recipients of the message.
$cc  : array<string|int, mixed>
The "cc" recipients of the message.
$mailer  : Mailer
The mailer instance.
$to  : array<string|int, mixed>
The "to" recipients of the message.
__construct()  : void
Create a new instance.
bcc()  : $this
Set the recipients of the message.
cc()  : $this
Set the recipients of the message.
later()  : mixed
Deliver the queued message after the given delay.
queue()  : mixed
Push the given mailable onto the queue.
send()  : mixed
Send a new mailable message instance.
sendNow()  : mixed
Send a mailable message immediately.
to()  : $this
Set the recipients of the message.
fill()  : Mailable
Populate the mailable with the addresses.

Properties

$bcc

The "bcc" recipients of the message.

protected array<string|int, mixed> $bcc = []

$cc

The "cc" recipients of the message.

protected array<string|int, mixed> $cc = []

$to

The "to" recipients of the message.

protected array<string|int, mixed> $to = []

Methods

bcc()

Set the recipients of the message.

public bcc(mixed $users) : $this
Parameters
$users : mixed
Return values
$this

cc()

Set the recipients of the message.

public cc(mixed $users) : $this
Parameters
$users : mixed
Return values
$this

later()

Deliver the queued message after the given delay.

public later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable) : mixed
Parameters
$delay : DateTimeInterface|DateInterval|int
$mailable : Mailable
Return values
mixed

to()

Set the recipients of the message.

public to(mixed $users) : $this
Parameters
$users : mixed
Return values
$this

Search results