summaryrefslogtreecommitdiffstats
path: root/library/Icinga/Data/Extensible.php
blob: ad690d847954358ce7671b418b8b6a408790c054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

namespace Icinga\Data;

use Icinga\Exception\StatementException;

/**
 * Interface for data insertion
 */
interface Extensible
{
    /**
     * Insert the given data for the given target
     *
     * @param   string  $target
     * @param   array   $data
     *
     * @throws  StatementException
     */
    public function insert($target, array $data);
}