We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dee010 commit 5412d5eCopy full SHA for 5412d5e
symfony/framework-bundle/7.4/public/index.php
@@ -1,9 +1,12 @@
1
<?php
2
3
-use App\Kernel;
+use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
4
+use Symfony\Component\HttpKernel\Kernel as BaseKernel;
5
6
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
7
8
return function (array $context) {
- return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
9
+ return new class($context['APP_ENV'], (bool) $context['APP_DEBUG']) extends BaseKernel {
10
+ use MicroKernelTrait;
11
+ };
12
};
symfony/framework-bundle/7.4/src/Kernel.php
0 commit comments