class EmailConfirmationMailer

Properties

protected SettingsRepositoryInterface $settings
protected Queue $queue
protected UrlGenerator $url
protected TranslatorInterface $translator

Methods

__construct(SettingsRepositoryInterface $settings, Queue $queue, UrlGenerator $url, TranslatorInterface $translator)

No description

handle(EmailChangeRequested $event)

No description

generateToken(User $user, string $email)

No description

array
getEmailData(User $user, string $email)

<p>Get the data that should be made available to email templates.</p>

Details

__construct(SettingsRepositoryInterface $settings, Queue $queue, UrlGenerator $url, TranslatorInterface $translator)

Parameters

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

handle(EmailChangeRequested $event)

Parameters

EmailChangeRequested $event

protected EmailToken generateToken(User $user, string $email)

Parameters

User $user
string $email

Return Value

EmailToken

protected array getEmailData(User $user, string $email)

<p>Get the data that should be made available to email templates.</p>

Parameters

User $user
string $email

Return Value

array