audit_log_repository_interface
interface audit_log_repository_interface implements repository_interface
Contract for audit log persistence.
Methods
audit_log_interface|null
find_by_id(int $id)
Find audit log by ID and hydrate child aggregates.
array
find_by_item(int $itemid, int $limit = 20)
Find latest audit logs for an item.
Details
at line 39
audit_log_interface
log(audit_log_interface $event)
Persist an audit log and its associated data (diffs/snapshot).
at line 50
audit_log_interface|null
find_by_id(int $id)
Find audit log by ID and hydrate child aggregates.
at line 62
array
find_by_item(int $itemid, int $limit = 20)
Find latest audit logs for an item.