NotificationService::sendNotification
Send out a notification
Signature
public function sendNotification(SystemNotification
$notification,
DataObject
$context,
[array
$extraData = ,
[string
$channel = NULL]] )
Parameters
$notification
— SystemNotification
The configured notification object$context
— DataObject
The context of the notification to send$extraData
— array
Any extra data to add into the notification text$channel
— string
A specific channel to send through. If not set, just sends to the default configured