class SendInformationalEmailJob extends AbstractJob

Traits

InteractsWithQueue
Queueable
SerializesModels

Properties

bool $deleteWhenMissingModels If a serialized model on this job has been deleted between dispatch and worker pickup, treat the job as a no-op and remove it from the queue rather than calling failed(), which re-deserializes the payload and throws ModelNotFoundException a second time — producing duplicate error log entries for what is in fact a handled-correctly race. from AbstractJob
static string|null $onQueue Optional queue name onto which jobs of this class should be routed. from AbstractJob

Methods

__construct(string $email, string $displayName, string $subject, string $body, string $forumTitle, string|null $bodyTitle = null, array $views = ['text' => 'mail::plain.information.generic', 'html' => 'mail::html.information.generic'], string|null $locale = null)

No description

void
handle(Mailer $mailer, Factory $view, TranslatorInterface $translator)

No description

Details

__construct(string $email, string $displayName, string $subject, string $body, string $forumTitle, string|null $bodyTitle = null, array $views = ['text' => 'mail::plain.information.generic', 'html' => 'mail::html.information.generic'], string|null $locale = null)

Parameters

string $email
string $displayName
string $subject
string $body
string $forumTitle
string|null $bodyTitle
array $views
string|null $locale

void handle(Mailer $mailer, Factory $view, TranslatorInterface $translator)

Parameters

Mailer $mailer
Factory $view
TranslatorInterface $translator

Return Value

void