'SELECT theme.technical_name as technicalName, LOWER(HEX(theme.id)) as parentThemeId FROM theme'
);
return $result;
} private function isDependentTheme( StorefrontPluginConfiguration
$parentConfig,
StorefrontPluginConfiguration
$currentThemeConfig ): bool
{ return $currentThemeConfig->
getTechnicalName() !==
$parentConfig->
getTechnicalName() && \
in_array('@' .
$parentConfig->
getTechnicalName(),
$currentThemeConfig->
getStyleFiles()->
getFilepaths(), true
) ;
} /**
* @param array<int|string, mixed> $field
*/
private function hasNewMedia(array
$field): bool
{ return \
array_key_exists('type',
$field) &&
$field['type'
] === 'media'
&& \
array_key_exists('value',
$field) && \
is_string($field['value'
]);
}