From d6c1c1ea33de6386fabe7c9546bfae1c38d3b9e7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 17:36:55 -0400 Subject: Improve notification classes and move interface to core --- app/Notification/WebNotification.php | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/Notification/WebNotification.php (limited to 'app/Notification/WebNotification.php') diff --git a/app/Notification/WebNotification.php b/app/Notification/WebNotification.php new file mode 100644 index 00000000..99c0c903 --- /dev/null +++ b/app/Notification/WebNotification.php @@ -0,0 +1,47 @@ +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.2.3