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