abstract class Notification (View source)

Methods

array
channels(Model $notifiable)

Returns the available channels to be used

Message|null
toMail(Model $notifiable)

Send notification to mail

array
toDatabase(Model $notifiable)

Send notification to database

void
process(Model $notifiable)

Process the notification

Details

abstract array channels(Model $notifiable)

Returns the available channels to be used

Parameters

Model $notifiable

Return Value

array

Message|null toMail(Model $notifiable)

Send notification to mail

Parameters

Model $notifiable

Return Value

Message|null

array toDatabase(Model $notifiable)

Send notification to database

Parameters

Model $notifiable

Return Value

array

final void process(Model $notifiable)

Process the notification

Parameters

Model $notifiable

Return Value

void