| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class CheckerRegistry implements CheckerRegistryInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array<BootloaderCheckerInterface> |
||
| 11 | */ |
||
| 12 | private array $checkers = []; |
||
| 13 | |||
| 14 | 519 | public function register(BootloaderCheckerInterface $checker): void |
|
| 15 | { |
||
| 16 | 519 | $this->checkers[] = $checker; |
|
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return array<BootloaderCheckerInterface> |
||
| 21 | */ |
||
| 22 | 519 | public function getCheckers(): array |
|
| 25 | } |
||
| 26 | } |
||
| 27 |