data mapper POC
[m6w6/pq-gateway] / lib / pq / Mapper / PropertyInterface.php
1 <?php
2
3 namespace pq\Mapper;
4
5 use pq\Gateway\Row;
6
7 interface PropertyInterface
8 {
9 function write($object, Row $rowToUpdate);
10 function read(Row $row, $objectToUpdate);
11
12 function assign($object, $value);
13 function extract($object);
14
15 function getProperty();
16
17 function getContainer();
18 function setContainer(MapInterface $container);
19
20 function defines($property);
21 function exposes($field);
22
23 }