2022-01-09 11:08:42 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
use App\Kernel;
|
2022-01-11 14:37:32 +00:00
|
|
|
use Redis;
|
|
|
|
$r = new Redis();
|
2022-01-09 11:08:42 +00:00
|
|
|
|
|
|
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
|
|
|
|
|
|
|
return static function (array $context) {
|
|
|
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
|
|
|
};
|