3 namespace DataAccess\DataMapper
;
5 use DataAccess\Queries\IQueryConstraints
;
6 use Domain\Entities\IDivineEntity
;
10 //TODO: Table is the wrong name. We actually give the implementation the entity name and it finds the table from the maps.
12 //find in table based on constraints and return it as entity
13 public function map($entityName, $queryString);
14 //insert/update entity in table
15 public function save(IDivineEntity
$entity);
16 //remove entity from table
17 public function remove(IDivineEntity
$entity);