class RequestPasswordResetJob extends AbstractJob

Traits

InteractsWithQueue
Queueable
SerializesModels

Properties

static string|null $sendOnQueue The name of the queue on which the job should be placed. from AbstractJob
protected string $email

Methods

__construct(string $email)

No description

void
setTranslatorLocaleForEmail(TranslatorInterface $translator, SettingsRepositoryInterface $settings, string $email)

Set the translator locale based on the user's preference for the given email.

handle(SettingsRepositoryInterface $settings, UrlGenerator $url, TranslatorInterface $translator, UserRepository $users, Queue $queue)

No description

Details

__construct(string $email)

Parameters

string $email

protected void setTranslatorLocaleForEmail(TranslatorInterface $translator, SettingsRepositoryInterface $settings, string $email)

Set the translator locale based on the user's preference for the given email.

Falls back to forum default if user not found or has no preference.

Parameters

TranslatorInterface $translator
SettingsRepositoryInterface $settings
string $email

Return Value

void

handle(SettingsRepositoryInterface $settings, UrlGenerator $url, TranslatorInterface $translator, UserRepository $users, Queue $queue)

Parameters

SettingsRepositoryInterface $settings
UrlGenerator $url
TranslatorInterface $translator
UserRepository $users
Queue $queue