diff options
Diffstat (limited to 'app/Core/NotificationInterface.php')
-rw-r--r-- | app/Core/NotificationInterface.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/Core/NotificationInterface.php b/app/Core/NotificationInterface.php new file mode 100644 index 00000000..5dca74e5 --- /dev/null +++ b/app/Core/NotificationInterface.php @@ -0,0 +1,22 @@ +<?php + +namespace Core; + +/** + * Notification Interface + * + * @package core + * @author Frederic Guillot + */ +interface NotificationInterface +{ + /** + * Send notification to someone + * + * @access public + * @param array $user + * @param string $event_name + * @param array $event_data + */ + public function send(array $user, $event_name, array $event_data); +} |