Introduce interface Extensible

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-08 15:18:28 +02:00
parent 12ff708ac0
commit 84f20ecb5f
1 changed files with 22 additions and 0 deletions

View 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);
}