class Illuminate / Auth / Notifications / ResetPassword
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ResetPassword

Extends

Properties

public

$token string

The password reset token.

Default: null
public static

$createUrlCallback Closure |null

The callback that should be used to create the reset password URL.

Default: null
public static

$toMailCallback Closure |null

The callback that should be used to build the mail message.

Default: null

Methods

public

__construct ( $token ) : void

Create a notification instance.

Parameters

  • $token string
public

via ( $notifiable ) : array|string

Get the notification's channels.

Parameters

  • $notifiable mixed
public

toMail ( $notifiable ) : MailMessage

Build the mail representation of the notification.

Parameters

  • $notifiable mixed
protected

buildMailMessage ( $url ) : MailMessage

Get the reset password notification mail message for the given URL.

Parameters

  • $url string
protected

resetUrl ( $notifiable ) : string

Get the reset URL for the given notifiable.

Parameters

  • $notifiable mixed
public static

createUrlUsing ( $callback ) : void

Set a callback that should be used when creating the reset password button URL.

Parameters

public static

toMailUsing ( $callback ) : void

Set a callback that should be used when building the notification mail message.

Parameters