$appEnv =
$context['APP_ENV'
] ?? 'dev';
$debug =
(bool) ($context['APP_DEBUG'
] ?? ($appEnv !== 'prod'
));
if (!
file_exists(dirname(__DIR__
) . '/install.lock'
)) { return new InstallerKernel($appEnv,
$debug);
} $shopwareHttpKernel =
new HttpKernel($appEnv,
$debug,
$classLoader);
if (EnvironmentHelper::
getVariable('COMPOSER_PLUGIN_LOADER', false
)) { $shopwareHttpKernel->
setPluginLoader( new ComposerPluginLoader($classLoader, null
) );
} return new class($shopwareHttpKernel) implements HttpKernelInterface, TerminableInterface
{ private HttpKernel
$httpKernel;
public function __construct(HttpKernel
$httpKernel) { $this->httpKernel =
$httpKernel;
}