class AccountActivationMailer

Properties

protected SettingsRepositoryInterface $settings
protected Mailer $mailer
protected UrlGenerator $url
protected Translator $translator

Methods

__construct(SettingsRepositoryInterface $settings, Mailer $mailer, UrlGenerator $url, Translator $translator)

No description

handle(Registered $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, Mailer $mailer, UrlGenerator $url, Translator $translator)

Parameters

SettingsRepositoryInterface $settings
Mailer $mailer
UrlGenerator $url
Translator $translator

handle(Registered $event)

Parameters

Registered $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