class EmailConfirmationMailer

Methods

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

No description

void
handle(EmailChangeRequested $event)

No description

generateToken(User $user, string $email)

No description

array
getEmailData(User $user, string $email)

No description

Details

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

Parameters

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

void handle(EmailChangeRequested $event)

Parameters

EmailChangeRequested $event

Return Value

void

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

Parameters

User $user
string $email

Return Value

EmailToken

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

Parameters

User $user
string $email

Return Value

array