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