add identity and lock
[m6w6/pq-gateway] / lib / pq / Gateway / Table / LockInterface.php
diff --git a/lib/pq/Gateway/Table/LockInterface.php b/lib/pq/Gateway/Table/LockInterface.php
new file mode 100644 (file)
index 0000000..ff8e858
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+
+namespace pq\Gateway\Table;
+
+use \pq\Gateway\Row;
+
+interface LockInterface
+{
+       function criteria(Row $row, array &$where);
+}