/**
* Compiles all dependend saleschannel/Theme combinations
*
* @return array<int, string>
*/
public function compileThemeById( string
$themeId,
Context
$context,
?StorefrontPluginConfigurationCollection
$configurationCollection = null,
bool
$withAssets = true
): array
{ $mappings =
$this->
getThemeDependencyMapping($themeId);
$compiledThemeIds =
[];
foreach ($mappings as $mapping) { $this->themeCompiler->
compileTheme( $mapping->
getSalesChannelId(),
$mapping->
getThemeId(),
$this->configLoader->
load($mapping->
getThemeId(),
$context),
$configurationCollection ??
$this->extensionRegistry->
getConfigurations(),
$withAssets,
$context );