aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/EntityInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/ORM/EntityInterface.php')
-rw-r--r--core/namespace/ORM/EntityInterface.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/namespace/ORM/EntityInterface.php b/core/namespace/ORM/EntityInterface.php
new file mode 100644
index 0000000..68c9588
--- /dev/null
+++ b/core/namespace/ORM/EntityInterface.php
@@ -0,0 +1,10 @@
+<?php
+namespace ORM;
+
+interface EntityInterface {
+ public function get(string $attribute);
+ public function set(string $attribute, $value);
+
+ public function getID(): int;
+ public function getAll(array $exclude = []): array;
+}