Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class ChainLoader implements LoaderInterface |
||
18 | { |
||
19 | private iterable $loaders; |
||
20 | |||
21 | /** |
||
22 | * @param iterable<LoaderInterface> $loaders |
||
23 | */ |
||
24 | 20 | public function __construct(iterable $loaders = null) |
|
25 | { |
||
26 | 20 | $this->loaders = $loaders ?? /* @scrutinizer ignore-type */ []; |
|
27 | } |
||
28 | |||
29 | 5 | public function resolve(string $ident, iterable $options = null): Svg |
|
42 | } |
||
43 | } |
||
44 |