summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Echo/model/AbstractEntity.php')
-rw-r--r--Echo/model/AbstractEntity.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/Echo/model/AbstractEntity.php b/Echo/model/AbstractEntity.php
new file mode 100644
index 00000000..fed21f4e
--- /dev/null
+++ b/Echo/model/AbstractEntity.php
@@ -0,0 +1,14 @@
+<?php
+
+/**
+ * Abstract entity for Echo model
+ */
+abstract class EchoAbstractEntity {
+
+ /**
+ * Convert an entity's property to array
+ * @return array
+ */
+ abstract public function toDbArray();
+
+}