1 | <?php |
||
13 | class VideoServiceMatcher |
||
14 | { |
||
15 | /** |
||
16 | * @var ServicesContainer |
||
17 | */ |
||
18 | private $serviceContainer; |
||
19 | |||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $parsedUrls = array(); |
||
24 | |||
25 | /** |
||
26 | * VideoServiceMatcher constructor. |
||
27 | */ |
||
28 | public function __construct() |
||
32 | |||
33 | /** |
||
34 | * @param string $url |
||
35 | * |
||
36 | * @return VideoAdapterInterface |
||
37 | * |
||
38 | * @throws VideoServiceNotCompatibleException |
||
39 | */ |
||
40 | public function parse($url) |
||
64 | |||
65 | /** |
||
66 | * @return ServicesContainer |
||
67 | */ |
||
68 | public function getServiceContainer() |
||
72 | |||
73 | /** |
||
74 | * @param ServicesContainer $serviceContainer |
||
75 | */ |
||
76 | public function setServiceContainer(ServicesContainer $serviceContainer) |
||
80 | } |
||
81 |