| Total Complexity | 2 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | final class BootloadManager extends AbstractBootloadManager  | 
            ||
| 15 | { | 
            ||
| 16 | private InvokerStrategyInterface $invokerStrategy;  | 
            ||
| 17 | |||
| 18 | 1 | public function __construct(  | 
            |
| 19 | ScopeInterface $scope,  | 
            ||
| 20 | private readonly InvokerInterface $invoker,  | 
            ||
| 21 | private readonly ResolverInterface $resolver,  | 
            ||
| 22 | InitializerInterface $initializer,  | 
            ||
| 23 | ?InvokerStrategyInterface $invokerStrategy = null  | 
            ||
| 24 |     ) { | 
            ||
| 25 | 1 | parent::__construct($scope, $initializer);  | 
            |
| 26 | |||
| 27 | 1 | $this->invokerStrategy = $invokerStrategy ?? new DefaultStrategy(  | 
            |
| 28 | 1 | ...$this->resolver->resolveArguments((new \ReflectionClass(DefaultStrategy::class))->getConstructor())  | 
            |
| 29 | );  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * Bootload all given bootloaders.  | 
            ||
| 34 | *  | 
            ||
| 35 | * @param array<class-string>|array<class-string, array<string,mixed>> $classes  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 36 | *  | 
            ||
| 37 | * @throws \Throwable  | 
            ||
| 38 | */  | 
            ||
| 39 | 1 | protected function boot(array $classes, array $bootingCallbacks, array $bootedCallbacks): void  | 
            |
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 |