5 use Symfony\Bundle\FrameworkBundle\Console\Application
;
7 if (!is_file(dirname(__DIR__
).'/vendor/autoload_runtime.php')) {
8 throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
11 require_once dirname(__DIR__
).'/vendor/autoload_runtime.php';
13 return function (array $context) {
14 $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
16 return new Application($kernel);