return array_merge( $parameters,
[ 'kernel.cache.hash' =>
$this->
getCacheHash(),
'kernel.shopware_version' =>
$this->shopwareVersion,
'kernel.shopware_version_revision' =>
$this->shopwareVersionRevision,
'kernel.shopware_core_dir' =>
$coreDir,
'kernel.plugin_dir' =>
$pluginDir,
'kernel.app_dir' =>
rtrim($this->
getProjectDir(), '/'
) . '/custom/apps',
'kernel.active_plugins' =>
$activePluginMeta,
'kernel.plugin_infos' =>
$this->pluginLoader->
getPluginInfos(),
'kernel.supported_api_versions' =>
[2, 3, 4
],
'defaults_bool_true' => true,
'defaults_bool_false' => false,
'default_whitespace' => ' ',
] );
} protected function getCacheHash(): string
{ $plugins =
[];