summaryrefslogtreecommitdiff
path: root/app/Core/NotificationInterface.php
blob: 5dca74e5fcb4948be31b11dd95f33c15120e77df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}