class AccountActivationMailer

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(Registered $event)

No description

EmailToken
generateToken(User $user, string $email)

No description

array
getEmailData(User $user, string $email)

Get the data that should be made available to email templates.

Details

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

Parameters

SettingsRepositoryInterface $settings
Queue $queue
UrlGenerator $url
TranslatorInterface $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)

Get the data that should be made available to email templates.

Parameters

User $user
string $email

Return Value

array