class AccountActivationMailer

Traits

Methods

generateToken(User $user, string $email)

No description

array
getEmailData(User $user, EmailToken $token)

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

void
sendConfirmationEmail(User $user, array $data)

No description

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

No description

void
handle(Registered $event)

No description

Details

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

Parameters

User $user
string $email

Return Value

EmailToken

protected array getEmailData(User $user, EmailToken $token)

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

Parameters

User $user
EmailToken $token

Return Value

array

protected void sendConfirmationEmail(User $user, array $data)

Parameters

User $user
array $data

Return Value

void

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

Parameters

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

void handle(Registered $event)

Parameters

Registered $event

Return Value

void