public/index.php line 6

Open in your IDE?
  1. <?php
  2. use App\Kernel;
  3. use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6. $oKernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  7. if ('dev' !== $oKernel->getEnvironment()) {
  8. $oKernel = new HttpCache($oKernel);
  9. }
  10. return $oKernel;
  11. };