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".');
14 require_once dirname(__DIR__
).'/vendor/autoload_runtime.php';
16 return function (array $context) {
17 $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
19 return new Application($kernel);