partkeepr/PartKeepr

View on GitHub
web/setup.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

use Symfony\Component\HttpFoundation\Request;

$loader = require_once __DIR__.'/../app/bootstrap.php.cache';

require_once __DIR__.'/../app/SetupAppKernel.php';
require_once __DIR__.'/../app/AppKernel.php';

$kernel = new SetupAppKernel('setup', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);