class SendEmailNotificationJob 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(MailableInterface|BlueprintInterface $blueprint, User $recipient)

No description

void
handle(NotificationMailer $mailer, Repository $cache)

No description

Details

__construct(MailableInterface|BlueprintInterface $blueprint, User $recipient)

Parameters

MailableInterface|BlueprintInterface $blueprint
User $recipient

void handle(NotificationMailer $mailer, Repository $cache)

Parameters

NotificationMailer $mailer
Repository $cache

Return Value

void