diff options
Diffstat (limited to 'mod/videolist/lib/Videolist/PlatformInterface.php')
-rw-r--r-- | mod/videolist/lib/Videolist/PlatformInterface.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mod/videolist/lib/Videolist/PlatformInterface.php b/mod/videolist/lib/Videolist/PlatformInterface.php new file mode 100644 index 000000000..25ca019e9 --- /dev/null +++ b/mod/videolist/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); +} |