summaryrefslogtreecommitdiff
path: root/app/Core/NotificationInterface.php
blob: b6cd17811f09ed86d3209ab1b2d90f1b074eeedc (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 Kanboard\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);
}