aboutsummaryrefslogtreecommitdiff
path: root/lib/Videolist/PlatformInterface.php
blob: 25ca019e9cdf4017a8286308bdf05f52df6f860a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}