PHP Class App\Notifications\TaskActionNotification

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

Public Methods

Method Description
__construct ( $task, $action ) : void Create a new notification instance.
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

Create a new notification instance.
public __construct ( $task, $action ) : void
return void

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