symfony_example_app/public/index.php

10 lines
199 B
PHP
Raw Normal View History

2024-01-16 15:54:06 +00:00
<?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']);
};