10 lines
208 B
PHP
10 lines
208 B
PHP
|
<?php
|
||
|
|
||
|
use App\Kernel;
|
||
|
|
||
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||
|
|
||
|
return function (array $context) {
|
||
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
||
|
};
|