# General Notifications
General notification is a way to send common notifications in the system.
To send notifications just call
sendGeneralNotification
function with the following params
$model
- This is the model you are sending notifications about e.g a Task
Notifiables
- This can be a collection of users, user ids or roles (you can also just use one item)
slug
- This is the notification slug added to general_notifications table in database
Below is a full example
sendGeneralNotification($task,$task->user_id,'notify_user_task_added');