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