class
Illuminate
/
Auth
/
Notifications
/
VerifyEmail
You are viewing an older version of the documentation. For the latest, please visit master documentation.
VerifyEmail
Extends
Properties
public
static
$createUrlCallback Closure |null
The callback that should be used to create the verify email URL.
Default: null
public
static
$toMailCallback Closure |null
The callback that should be used to build the mail message.
Default: null
Methods
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 verify email notification mail message for the given URL.
Parameters
- $url string
protected
verificationUrl ( $notifiable ) : string
Get the verification URL for the given notifiable.
Parameters
- $notifiable mixed
public
static
createUrlUsing ( $callback ) : void
Set a callback that should be used when creating the email verification URL.
Parameters
- $callback Closure
public
static
toMailUsing ( $callback ) : void
Set a callback that should be used when building the notification mail message.
Parameters
- $callback Closure