<?phpuse App\Kernel;use App\Cache\AppCache;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) { if (($context['APP_ENV'] ?? '') === 'dev' && function_exists('opcache_reset')) { @opcache_reset(); } $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); if ($context['APP_ENV'] === 'prod') { $kernel = new AppCache($kernel); } return $kernel;};