<?php

declare(strict_types=1);

use App\Kernel;
use Redis;
$r = new Redis();

require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

return static function (array $context) {
    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};