MailChannel

class MailChannel (View source)

Properties

protected Mailer $mailer The mailer implementation.

Methods

void __construct(Mailer $mailer)

Create a new mail channel instance.

void send(mixed $notifiable, Notification $notification)

Send the given notification.

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

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