implement audit logger

This commit is contained in:
bence committed 2023-04-18 23:15:06 +02:00
1 parent aa31c857c7
commit 831433f9d8
6 files changed
+161 -13

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php namespace SokoWeb\Interfaces\Database;
interface IAuditLogger
{
public function logInsert(string $localTable, $localId): void;
public function logUpdate(string $localTable, $localId, array $diff): void;
public function logDelete(string $localTable, $localId, array $attributes): void;
}