| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 519 | public function canInitialize(BootloaderInterface|string $bootloader, ?BootloadConfig $config = null): bool |
|
| 18 | { |
||
| 19 | 519 | foreach ($this->registry->getCheckers() as $checker) { |
|
| 20 | 519 | if (!$checker->canInitialize($bootloader, $config)) { |
|
| 21 | 391 | return false; |
|
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | 497 | return true; |
|
| 26 | } |
||
| 28 |