summaryrefslogtreecommitdiffstats
path: root/src/Objects/ApiObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Objects/ApiObject.php')
-rw-r--r--src/Objects/ApiObject.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Objects/ApiObject.php b/src/Objects/ApiObject.php
new file mode 100644
index 0000000..e9063b8
--- /dev/null
+++ b/src/Objects/ApiObject.php
@@ -0,0 +1,17 @@
+<?php
+namespace BjoernrDe\SSLLabsApi\Objects;
+
+/**
+ * ApiObject interface
+ *
+ * @author Björn Roland
+ */
+interface ApiObject
+{
+ /**
+ * Populate object by API response
+ *
+ * @param string $jsonString
+ */
+ public function populateObjectByApiResponse($jsonString);
+} \ No newline at end of file