Spec-Zone.ru › Laravel 5.5

MailChannel

class MailChannel (View source)

Свойства

protected Mailer $mailer Реализация почтового сервера.
protected Markdown $markdown Реализация Markdown.

Методы

void __construct(Mailer $mailer, Markdown $markdown)

Создать новый экземпляр канала почты.

void send(mixed $notifiable, Notification $notification)

Отправить уведомление.

Closure messageBuilder(mixed $notifiable, Notification $notification, MailMessage $message)

Получить замыкание почтового сервера для сообщения.

void buildView(MailMessage $message)

Сформировать представление уведомления.

void buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)

Сформировать сообщение электронной почты.

void addressMessage(Message $mailMessage, mixed $notifiable, MailMessage $message)

Указать адресата сообщения электронной почты.

void addSender(Message $mailMessage, MailMessage $message)

Добавить адреса "отправителя" и "ответ на" в сообщение.

mixed getRecipients(mixed $notifiable, MailMessage $message)

Получить получателей данного сообщения.

void addAttachments(Message $mailMessage, MailMessage $message)

Добавить вложение к сообщению.

Детали

void __construct(Mailer $mailer, Markdown $markdown)

Создать новый экземпляр канала почты.

Параметры

Mailer $mailer
Markdown $markdown

Возвращаемое значение

void

void send(mixed $notifiable, Notification $notification)

Отправить уведомление.

Параметры

mixed $notifiable
Notification $notification

Возвращаемое значение

void

protected Closure messageBuilder(mixed $notifiable, Notification $notification, MailMessage $message)

Получить замыкание почтового сервера для сообщения.

Параметры

mixed $notifiable
Notification $notification
MailMessage $message

Возвращаемое значение

Closure

protected void buildView(MailMessage $message)

Сформировать представление уведомления.

Параметры

MailMessage $message

Возвращаемое значение

void

protected void buildMessage(Message $mailMessage, mixed $notifiable, Notification $notification, MailMessage $message)

Сформировать сообщение электронной почты.

Параметры

Message $mailMessage
mixed $notifiable
Notification $notification
MailMessage $message

Возвращаемое значение

void

protected void addressMessage(Message $mailMessage, mixed $notifiable, MailMessage $message)

Указать адресата сообщения электронной почты.

Параметры

Message $mailMessage
mixed $notifiable
MailMessage $message

Возвращаемое значение

void

protected void addSender(Message $mailMessage, MailMessage $message)

Добавить адреса "отправителя" и "ответ на" в сообщение.

Параметры

Message $mailMessage
MailMessage $message

Возвращаемое значение

void

protected mixed getRecipients(mixed $notifiable, MailMessage $message)

Получить получателей данного сообщения.

Параметры

mixed $notifiable
MailMessage $message

Возвращаемое значение

mixed

protected void addAttachments(Message $mailMessage, MailMessage $message)

Добавить вложение к сообщению.

Параметры

Message $mailMessage
MailMessage $message

Возвращаемое значение

void

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API