PHP Class Spatie\FailedJobMonitor\Notification

Inheritance: extends Illuminate\Notifications\Notification
Show file Open project: spatie/laravel-failed-job-monitor

Protected Properties

Property Type Description
$event Illuminate\Queue\Events\JobFailed

Public Methods

Method Description
getEvent ( ) : Illuminate\Queue\Events\JobFailed
setEvent ( Illuminate\Queue\Events\JobFailed $event ) : self
toMail ( $notifiable ) : Illuminate\Notifications\Messages\MailMessage
toSlack ( ) : Illuminate\Notifications\Messages\SlackMessage
via ( $notifiable ) : array

Method Details

getEvent() public method

public getEvent ( ) : Illuminate\Queue\Events\JobFailed
return Illuminate\Queue\Events\JobFailed

setEvent() public method

public setEvent ( Illuminate\Queue\Events\JobFailed $event ) : self
$event Illuminate\Queue\Events\JobFailed
return self

toMail() public method

public toMail ( $notifiable ) : Illuminate\Notifications\Messages\MailMessage
return Illuminate\Notifications\Messages\MailMessage

toSlack() public method

public toSlack ( ) : Illuminate\Notifications\Messages\SlackMessage
return Illuminate\Notifications\Messages\SlackMessage

via() public method

public via ( $notifiable ) : array
return array

Property Details

$event protected property

protected JobFailed,Illuminate\Queue\Events $event
return Illuminate\Queue\Events\JobFailed