summaryrefslogtreecommitdiffstats
path: root/library/Director/Data/Serializable.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Data/Serializable.php')
-rw-r--r--library/Director/Data/Serializable.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/Director/Data/Serializable.php b/library/Director/Data/Serializable.php
new file mode 100644
index 0000000..9f8cb63
--- /dev/null
+++ b/library/Director/Data/Serializable.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace Icinga\Module\Director\Data;
+
+use JsonSerializable;
+
+interface Serializable extends JsonSerializable
+{
+ public static function fromSerialization($value);
+}