Copied!

UserPasswordReset

UserPasswordReset.php : 20
Extends Notification
Implements EmailNotificationInterface, SmsNotificationInterface, UserAwareNotificationInterface

Methods

public__construct()

UserPasswordReset.php : 28
public __construct(User $user, string $token)

Parameters

Name Type Default value Description
$user User - -
$token string - -

publicasEmailMessage()

UserPasswordReset.php : 38
public asEmailMessage(EmailRecipientInterface $recipient[, string $transport = null ]) : EmailMessage|null

Parameters

Name Type Default value Description
$recipient EmailRecipientInterface - -
$transport string null -

Return values

EmailMessage|null

publicasSmsMessage()

UserPasswordReset.php : 43
public asSmsMessage(SmsRecipientInterface $recipient[, string $transport = null ]) : SmsMessage|null

Parameters

Name Type Default value Description
$recipient SmsRecipientInterface - -
$transport string null -

Return values

SmsMessage|null

publicgetToken()

UserPasswordReset.php : 53
public getToken() : string

Return values

string

publicgetUser()

UserPasswordReset.php : 48
public getUser() : User

Return values

User