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