Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class ResultCollectorReadable implements Countable, ResultCollectorInterface |
||
8 | { |
||
9 | /** @var ResultCollectorInterface */ |
||
10 | private $resultCollector; |
||
11 | |||
12 | public function __construct(ResultCollectorInterface $resultCollector) |
||
13 | { |
||
14 | $this->resultCollector = $resultCollector; |
||
15 | } |
||
16 | |||
17 | public function count(): int |
||
20 | } |
||
21 | |||
22 | /** @return array<ResultInterface> */ |
||
23 | public function get(): iterable |
||
26 | } |
||
27 | } |
||
28 |