RecoveryService

class \TYPO3\CMS\FrontendLogin\Service\RecoveryService

Table of Contents

Properties

$eventDispatcher  : EventDispatcherInterface
$mailer  : MailerInterface
$recoveryConfiguration  : RecoveryConfiguration
$settings  : array
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
sendRecoveryEmail()  : void
Sends an email with an absolute link including the given forgot hash to the passed user with instructions to recover the account.
getEmailSubject()  : string
getReceiverName()  : string
Get display name from values. Fallback to username if none of the "_name" fields is set.
prepareMail()  : FluidEmail
Create email object from configuration.

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

sendRecoveryEmail()

Sends an email with an absolute link including the given forgot hash to the passed user with instructions to recover the account.

public sendRecoveryEmail(RequestInterface $request, array $userData, string $hash) : void

Parameters

$request : RequestInterface
$userData : array
$hash : string

Tags

throws
TransportExceptionInterface

getEmailSubject()

protected getEmailSubject() : string

Return values

string

getReceiverName()

Get display name from values. Fallback to username if none of the "_name" fields is set.

protected getReceiverName(array $userInformation) : string

Parameters

$userInformation : array

Return values

string
On this page