phpdoc
[m6w6/pq-gateway] / lib / pq / Mapper / StorageInterface.php
1 <?php
2
3 namespace pq\Mapper;
4
5 interface StorageInterface
6 {
7 /**
8 * Find
9 * @param array $where
10 * @param string $order
11 * @param int $limit
12 * @param int $offset
13 * @return object[]
14 */
15 function find($where = [], $order = null, $limit = null, $offset = null);
16
17 /**
18 * Delete
19 * @param object $object
20 */
21 function delete($object);
22
23 /**
24 * Save
25 * @param object $object
26 */
27 function save($object);
28 }