Browse Source

Added diff method to AuditReaderInterface

NLZ13 10 năm trước cách đây
mục cha
commit
a39c023de2
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      Model/AuditReaderInterface.php

+ 8 - 0
Model/AuditReaderInterface.php

@@ -38,4 +38,12 @@ interface AuditReaderInterface
      * @param string $id
      */
     public function findRevisions($className, $id);
+
+    /**
+     * @param string $className
+     * @param int $id
+     * @param int $oldRevision
+     * @param int $newRevision
+     */
+    public function diff($className, $id, $oldRevision, $newRevision);
 }