From 73a5b9bc75d40a30e7c9674b292957657ac01f63 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 09:51:15 -0400 Subject: Make user notifications pluggable --- app/Notification/Web.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 app/Notification/Web.php (limited to 'app/Notification/Web.php') diff --git a/app/Notification/Web.php b/app/Notification/Web.php new file mode 100644 index 00000000..989ae06e --- /dev/null +++ b/app/Notification/Web.php @@ -0,0 +1,39 @@ +userUnreadNotification->create($user['id'], $event_name, $event_data); + } + + /** + * Send notification to a project + * + * @access public + * @param array $project + * @param string $event_name + * @param array $event_data + */ + public function notifyProject(array $project, $event_name, array $event_data) + { + } +} -- cgit v1.3.1