MailableFake::getRecipients()

array getRecipients() Get the recipient information for the mailable. Return Value array

MailableFake::cc()

$this cc(mixed $users) Set the recipients of the message. Parameters mixed $users Return Value $this

MailableFake::bcc()

$this bcc(mixed $users) Set the recipients of the message. Parameters mixed $users Return Value $this

MailableFake

MailableFake class MailableFake extends MailableMailer (View source) Properties mixed $mailable The mailable instance.

Mailable::__call()

$this __call(string $method, array $parameters) Dynamically bind parameters to the message. Parameters string $method array $parameters Return Value $this Exceptions BadMethodCallException

Mailable::withSwiftMessage()

$this withSwiftMessage(callable $callback) Register a callback to be called with the Swift message instance. Parameters callable $callback Return Value $this

Mailable::with()

$this with(string|array $key, mixed $value = null) Set the view data for the message. Parameters string|array $key mixed $value Return Value $this

Mailable::view()

$this view(string $view, array $data = array()) Set the view and view data for the message. Parameters string $view array $data Return Value $this

Mailable::to()

$this to(object|array|string $address, string|null $name = null) Set the recipients of the message. Parameters object|array|string $address string|null $name Return Value $this

Mailable::text()

$this text(string $textView, array $data = array()) Set the plain text view for the message. Parameters string $textView array $data Return Value $this