| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class KernelFacade extends AbstractFacade |
||
| 14 | { |
||
| 15 | 1 | public function boot(): void |
|
| 16 | { |
||
| 17 | 1 | $this->getFactory()->getServiceProvider()->boot(); |
|
| 18 | 1 | } |
|
| 19 | |||
| 20 | 1 | public function run(): void |
|
| 21 | { |
||
| 22 | 1 | $this->getFactory()->getServiceProvider()->execute(); |
|
| 23 | 1 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $serviceName |
||
| 27 | * |
||
| 28 | * @return \Xervice\Kernel\Business\Service\ServiceInterface |
||
| 29 | */ |
||
| 30 | public function getService(string $serviceName): ServiceInterface |
||
| 33 | } |
||
| 34 | } |
||
| 35 |