audit_log_mapper
class audit_log_mapper extends abstract_mapper
| internal |
Audit log mapper.
Converts rows from middag_audit_log into domain aggregates and serializes entities back to persistence records.
Diffs and snapshots are handled by the repository aggregation layer.
Methods
db_to_domain(stdClass $record, array $metadata = [])
Convert DB record to audit log entity (without child aggregates).
Details
at line 45
entity_interface
db_to_domain(stdClass $record, array $metadata = [])
Convert DB record to audit log entity (without child aggregates).
at line 82
stdClass
domain_to_db(entity_interface $entity)
Convert audit log entity to persistence record.