<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
$runtime = dirname(__DIR__).'/config/runtime.php';
if (file_exists($runtime)) {
require_once $runtime;
}
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};