summaryrefslogtreecommitdiff
path: root/src/Support/ArrayTransformable.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Support/ArrayTransformable.php')
-rw-r--r--src/Support/ArrayTransformable.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Support/ArrayTransformable.php b/src/Support/ArrayTransformable.php
new file mode 100644
index 0000000..f1adf81
--- /dev/null
+++ b/src/Support/ArrayTransformable.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App\Support;
+
+interface ArrayTransformable
+{
+ /**
+ * @return array
+ */
+ public function toArray(): array;
+}