| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | abstract class AbstractBootloadManager implements BootloadManagerInterface, Container\SingletonInterface |
||
| 15 | { |
||
| 16 | 343 | public function __construct( |
|
| 17 | private readonly ScopeInterface $scope, |
||
| 18 | protected readonly InitializerInterface $initializer |
||
| 19 | ) { |
||
| 20 | } |
||
| 21 | |||
| 22 | 9 | public function getClasses(): array |
|
| 25 | } |
||
| 26 | |||
| 27 | 342 | public function bootload(array $classes, array $bootingCallbacks = [], array $bootedCallbacks = []): void |
|
| 33 | } |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Bootload all given bootloaders. |
||
| 39 | * |
||
| 40 | * @param array<class-string>|array<class-string, array<string,mixed>> $classes |
||
|
|
|||
| 41 | */ |
||
| 42 | abstract protected function boot(array $classes, array $bootingCallbacks, array $bootedCallbacks): void; |
||
| 43 | } |
||
| 44 |