Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
29 | { |
||
30 | $middleware = require $this->config['middleware_path']; |
||
31 | $routes = require $this->config['router_path']; |
||
32 | $container = require $this->config['container_path']; |
||
33 | /** @var Application $application */ |
||
34 | $application = $container->get(Application::class); |
||
35 | $middleware($application, $container); |
||
36 | $routes($application, $container); |
||
37 | |||
38 | $application->run(); |
||
39 | } |
||
41 |