Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | final class GroupedStateCollector implements StateCollector |
||
17 | { |
||
18 | /** @var StateCollector[] */ |
||
19 | private array $collectors; |
||
20 | |||
21 | /** |
||
22 | * @param StateCollector ...$collectors |
||
23 | */ |
||
24 | public function __construct(StateCollector ...$collectors) |
||
27 | } |
||
28 | |||
29 | public function collect(): array |
||
38 |