data mapper POC
[m6w6/pq-gateway] / lib / pq / Mapper / RefPropertyInterface.php
diff --git a/lib/pq/Mapper/RefPropertyInterface.php b/lib/pq/Mapper/RefPropertyInterface.php
new file mode 100644 (file)
index 0000000..5fae13a
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+namespace pq\Mapper;
+
+interface RefPropertyInterface extends PropertyInterface
+{
+       /**
+        * @param string $class
+        */
+       function to($class);
+
+       /**
+        * @param string $class
+        * @return bool
+        */
+       function references($class);
+
+       /**
+        * @param string $ref
+        */
+       function by($ref);
+
+       /**
+        * @param string $ref
+        * @return bool
+        */
+       function on($ref);
+}