NotificationService

notify

Sends a notification to a single notifiable instance or an array of notifiable instances.

Return: notification instance, after it has been populated and sent to the notifiables.

getChannel

Returns a channel instance by name.

Return: A BaseProvider instance for the channel name.

Throws: Megaphone.Configuration.MissingChanel

getChannels

Returns a map of channel names to Provider instances.

Return: A struct map of channel names to Provider instances.

Last updated