Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
5 | class URLRegexParser |
||
6 | { |
||
7 | protected $downloaderClass; |
||
8 | |||
9 | public function __construct(string $downloaderClass) |
||
10 | { |
||
11 | $this->downloaderClass = $downloaderClass; |
||
12 | } |
||
13 | |||
14 | /** |
||
15 | * @param string $publicWatchUrl |
||
16 | * @return string|null |
||
17 | */ |
||
18 | public function parse(string $publicWatchUrl) : ?string{ |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $publicWatchUrl |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function isValidUrl(string $publicWatchUrl) : bool { |
||
33 | } |
||
34 | } |