W3cubDocs

/Laravel 5.4

MailChannel

class MailChannel (View source)

Methods

void __construct(Mailer $mailer)

Create a new mail channel instance.

void send(mixed $notifiable, Notification $notification)

Send the given notification.

$this setMarkdownResolver(Closure $callback)

Set the Markdown resolver callback.

Details

void __construct(Mailer $mailer)

Create a new mail channel instance.

Parameters

Mailer $mailer

Return Value

void

void send(mixed $notifiable, Notification $notification)

Send the given notification.

Parameters

mixed $notifiable
Notification $notification

Return Value

void

$this setMarkdownResolver(Closure $callback)

Set the Markdown resolver callback.

Parameters

Closure $callback

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Notifications/Channels/MailChannel.html