Symbiote\Notifications\Service\NotificationService::notify
Trigger a notification event
Signature
public function notify(string
$identifier,
DataObject
$context,
[array
$data = ,
[string|null
$channel = NULL]] )
Parameters
$identifier
—
string
- The Identifier of the notification event
$context
—
object
- The context (if relevant) of the object to notify on
$data
—
array
- Extra data to be sent along with the notification
$channel
—
object