Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class ApplicationBootstrap implements ApplicationBootstrapInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var \Xervice\Service\Route\RouteProviderInterface |
||
16 | */ |
||
17 | private $routeProvider; |
||
18 | |||
19 | /** |
||
20 | * @var \Xervice\Service\Service\ServiceProviderInterface |
||
21 | */ |
||
22 | private $serviceProvider; |
||
23 | |||
24 | /** |
||
25 | * ApplicationBootstrap constructor. |
||
26 | * |
||
27 | * @param \Xervice\Service\Route\RouteProviderInterface $routeProvider |
||
28 | * @param \Xervice\Service\Service\ServiceProviderInterface $serviceProvider |
||
29 | */ |
||
30 | public function __construct( |
||
31 | RouteProviderInterface $routeProvider, |
||
32 | ServiceProviderInterface $serviceProvider |
||
33 | ) { |
||
34 | $this->routeProvider = $routeProvider; |
||
35 | $this->serviceProvider = $serviceProvider; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param \Laravel\Lumen\Application $app |
||
40 | */ |
||
41 | public function boot(Application $app): void |
||
45 | } |
||
46 | |||
47 | } |