ResetPassword
extends Notification
in package
Table of Contents
- $id : string
- The unique identifier for the notification.
- $token : string
- The password reset token.
- __construct() : void
- Create a notification instance.
- __sleep() : array<string|int, mixed>
- Prepare the instance for serialization.
- __wakeup() : void
- Restore the model after serialization.
- broadcastOn() : array<string|int, mixed>
- Get the channels the event should broadcast on.
- toMail() : MailMessage
- Build the mail representation of the notification.
- via() : array<string|int, mixed>|string
- Get the notification's channels.
- getPropertyValue() : mixed
- Get the property value for the given property.
Properties
$id
The unique identifier for the notification.
public
string
$id
$token
The password reset token.
public
string
$token
Methods
__construct()
Create a notification instance.
public
__construct(string $token) : void
Parameters
- $token : string
Return values
void —__sleep()
Prepare the instance for serialization.
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed> —__wakeup()
Restore the model after serialization.
public
__wakeup() : void
Return values
void —broadcastOn()
Get the channels the event should broadcast on.
public
broadcastOn() : array<string|int, mixed>
Return values
array<string|int, mixed> —toMail()
Build the mail representation of the notification.
public
toMail(mixed $notifiable) : MailMessage
Parameters
- $notifiable : mixed
Return values
MailMessage —via()
Get the notification's channels.
public
via(mixed $notifiable) : array<string|int, mixed>|string
Parameters
- $notifiable : mixed
Return values
array<string|int, mixed>|string —getPropertyValue()
Get the property value for the given property.
protected
getPropertyValue(ReflectionProperty $property) : mixed
Parameters
- $property : ReflectionProperty