DataMapperInterface
DataMapperInterface.php
:
15
Data Mapper provide interface to bidirectional transfer of data between a Struct objects and a Data objects.
Methods¶
map() ¶
DataMapperInterface.php
:
24
Maps Struct object to Data object.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$value | ValueObject | - | - |
reverseMap() ¶
DataMapperInterface.php
:
33
Maps Data object to Struct object.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$data | mixed | - | - |