Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class AllowedSchemeFilter implements PreFetchFilterInterface |
||
11 | { |
||
12 | private $allowedSchemes = array(); |
||
13 | |||
14 | /** |
||
15 | * @param string[] $schemes |
||
16 | */ |
||
17 | public function __construct(array $schemes) |
||
18 | { |
||
19 | $this->allowedSchemes = $schemes; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return bool |
||
24 | */ |
||
25 | public function match(UriInterface $uri) |
||
28 | } |
||
29 | } |
||
30 |