$themeVariablesEvent =
new ThemeCompilerEnrichScssVariablesEvent( $variables,
$salesChannelId,
$context );
$this->eventDispatcher->
dispatch($themeVariablesEvent);
$dump =
str_replace( ['#class#', '#variables#'
],
[self::
class,
implode(\PHP_EOL,
$this->
formatVariables($themeVariablesEvent->
getVariables()))],
$this->
getVariableDumpTemplate() );
$this->tempFilesystem->
write('theme-variables.scss',
$dump);
return $dump;
} /**
* @param array{value: string|array<mixed>|null, scss?: bool, type: string} $data
*/
private function isDumpable(array
$data): bool
{