Spec-Zone.ru › Laravel 7

PendingMailFake

class PendingMailFake extends PendingMail (View source)

Свойства

protected Mailer $mailer

Экземпляр почтового сервера.

из PendingMail
protected string $locale

Язык сообщения.

из PendingMail
protected array $to

Получатели сообщения (адресаты).

из PendingMail
protected array $cc

Получатели сообщения (копия).

из PendingMail
protected array $bcc

Получатели сообщения (скрытая копия).

из PendingMail

Методы

void __construct(Mailer $mailer)

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

$this locale(string $locale)

Установить язык сообщения.

из PendingMail
$this to(mixed $users)

Установить получателей сообщения.

из PendingMail
$this cc(mixed $users)

Установить получателей сообщения (копия).

из PendingMail
$this bcc(mixed $users)

Установить получателей сообщения (скрытая копия).

из PendingMail
mixed send(Mailable $mailable)

Отправить новое сообщение.

mixed sendNow(Mailable $mailable) deprecated

Отправить сообщение немедленно.

mixed queue(Mailable $mailable)

Добавить данное сообщение в очередь.

mixed later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)

Доставить сообщение в очереди после заданной задержки.

из PendingMail
Mailable fill(Mailable $mailable)

Заполнить сообщение адресами.

из PendingMail

Подробности

void __construct(Mailer $mailer)

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

Parameters

Mailer $mailer

Return Value

void

$this locale(string $locale)

Установить язык сообщения.

Parameters

string $locale

Return Value

$this

$this to(mixed $users)

Установить получателей сообщения.

Parameters

mixed $users

Return Value

$this

$this cc(mixed $users)

Установить получателей сообщения (копия).

Parameters

mixed $users

Return Value

$this

$this bcc(mixed $users)

Установить получателей сообщения (скрытая копия).

Parameters

mixed $users

Return Value

$this

mixed send(Mailable $mailable)

Отправить новое сообщение.

Parameters

Mailable $mailable

Return Value

mixed

mixed sendNow(Mailable $mailable) deprecated

deprecated

Используйте send() вместо этого.

Отправить сообщение немедленно.

Parameters

Mailable $mailable

Return Value

mixed

mixed queue(Mailable $mailable)

Добавить данное сообщение в очередь.

Parameters

Mailable $mailable

Return Value

mixed

mixed later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)

Доставить сообщение в очереди после заданной задержки.

Parameters

DateTimeInterface|DateInterval|int $delay
Mailable $mailable

Return Value

mixed

protected Mailable fill(Mailable $mailable)

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

Параметры

Mailable $mailable

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

Mailable

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Support/Testing/Fakes/PendingMailFake.html

Spec-Zone.ru

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