mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
parent
12ff708ac0
commit
84f20ecb5f
22
library/Icinga/Data/Extensible.php
Normal file
22
library/Icinga/Data/Extensible.php
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
/* Icinga Web 2 | (c) 2013-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);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user