Messaging
abstract class Messaging (View source)
Methods
Details
static array
pushChannels(array $channels)
Push channels to the messaging
Envelop|null
toMail(Model $context)
Send notification to mail
array
toDatabase(Model $context)
Send notification to database
array
toSms(Model $context)
Send notification to sms
array
toSlack(Model $context)
Send notification to slack
array
toTelegram(Model $context)
Send notification to telegram
void
process(Model $context)
Process the notification
abstract array
channels(Model $context)
Returns the available channels to be used