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 ServiceNotAvailableException |
||
39 | */ |
||
40 | public function parse($url) |
||
61 | |||
62 | /** |
||
63 | * @return ServicesContainer |
||
64 | */ |
||
65 | public function getServiceContainer() |
||
69 | |||
70 | /** |
||
71 | * @param ServicesContainer $serviceContainer |
||
72 | */ |
||
73 | public function setServiceContainer(ServicesContainer $serviceContainer) |
||
77 | } |
||
78 |