Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class ReaderRegistry |
||
6 | { |
||
7 | /** |
||
8 | * @var ReaderInterface[] |
||
9 | */ |
||
10 | private $readers; |
||
11 | |||
12 | /** |
||
13 | * @param ReaderInterface[]|iterable $readers |
||
14 | */ |
||
15 | 1 | public function __construct(iterable $readers) |
|
23 | 1 | }); |
|
24 | 1 | } |
|
25 | |||
26 | /** |
||
27 | * @return ReaderInterface[] |
||
28 | */ |
||
29 | 1 | public function all(): array |
|
34 |