UserPasswordReset
UserPasswordReset.php
:
20
Extends Notification
Implements
EmailNotificationInterface, SmsNotificationInterface, UserAwareNotificationInterface
Methods¶
__construct() ¶
UserPasswordReset.php
:
28
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$token | string | - | - |
asEmailMessage() ¶
UserPasswordReset.php
:
38
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | EmailRecipientInterface | - | - |
$transport | string | null | - |
Return values
EmailMessage|null
asSmsMessage() ¶
UserPasswordReset.php
:
43
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$recipient | SmsRecipientInterface | - | - |
$transport | string | null | - |
Return values
SmsMessage|null
getToken() ¶
UserPasswordReset.php
:
53
|
|
Return values
string
getUser() ¶
UserPasswordReset.php
:
48
|
|