2018-06-20 16:35:08 +00:00
|
|
|
<?php
|
2022-07-04 21:13:03 +00:00
|
|
|
declare(strict_types=1);
|
2018-06-20 16:35:08 +00:00
|
|
|
|
|
|
|
use App\Kernel;
|
|
|
|
|
2022-07-04 21:56:05 +00:00
|
|
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
2022-07-04 21:13:03 +00:00
|
|
|
|
2022-07-04 21:56:05 +00:00
|
|
|
return function (array $context) {
|
|
|
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
|
|
|
};
|