PHP Class App\Notifications\AccountActivation

Inheritance: extends Illuminate\Notifications\Notification, use trait Illuminate\Bus\Queueable
Show file Open project: ConsoleTVs/Laralum

Public Properties

Property Type Description
$user Create a new notification instance.

Public Methods

Method Description
__construct ( $user )
toArray ( mixed $notifiable ) : array Get the array representation of the notification.
toMail ( mixed $notifiable ) : Illuminate\Notifications\Messages\MailMessage Get the mail representation of the notification.
via ( mixed $notifiable ) : array Get the notification's delivery channels.

Method Details

__construct() public method

public __construct ( $user )

toArray() public method

Get the array representation of the notification.
public toArray ( mixed $notifiable ) : array
$notifiable mixed
return array

toMail() public method

Get the mail representation of the notification.
public toMail ( mixed $notifiable ) : Illuminate\Notifications\Messages\MailMessage
$notifiable mixed
return Illuminate\Notifications\Messages\MailMessage

via() public method

Get the notification's delivery channels.
public via ( mixed $notifiable ) : array
$notifiable mixed
return array

Property Details

$user public property

Create a new notification instance.
public $user