<?php
use Mm\Escmid\EscmidEnvironment;
use Mm\Escmid\EscmidKernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
$env = EscmidEnvironment::fromApplicationContext($context);
return new EscmidKernel($env, (bool) $context['APP_DEBUG']);
};