aboutsummaryrefslogtreecommitdiff
path: root/lib/Videolist/PlatformInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Videolist/PlatformInterface.php')
-rw-r--r--lib/Videolist/PlatformInterface.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/Videolist/PlatformInterface.php b/lib/Videolist/PlatformInterface.php
new file mode 100644
index 000000000..25ca019e9
--- /dev/null
+++ b/lib/Videolist/PlatformInterface.php
@@ -0,0 +1,23 @@
+<?php
+
+interface Videolist_PlatformInterface {
+ /**
+ * @abstract
+ * @return string
+ */
+ public function getType();
+
+ /**
+ * @abstract
+ * @param string $url
+ * @return array
+ */
+ public function parseUrl($url);
+
+ /**
+ * @abstract
+ * @param array $parsed
+ * @return array
+ */
+ public function getData($parsed);
+}