blob: ff70b993a7c5d89993b79f08a0db2242e42b19ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
namespace Icinga\Data;
use Icinga\Data\Filter\Filter;
use Icinga\Exception\StatementException;
/**
* Interface for data updating
*/
interface Updatable
{
/**
* Update the target with the given data and optionally limit the affected entries by using a filter
*
* @param string $target
* @param array $data
* @param Filter $filter
*
* @throws StatementException
*/
public function update($target, array $data, Filter $filter = null);
}
|