public function __construct( private readonly SystemConfigService
$systemConfigService,
private readonly ThemeConfigValueAccessor
$themeConfigAccessor ) { } /**
* @return string|bool|array|float|int|null
*/
public function config(string
$key, ?string
$salesChannelId) { $static =
$this->
getStatic();
if (\
array_key_exists($key,
$static)) { return $static[$key];
} return $this->systemConfigService->
get($key,
$salesChannelId);
} /**
* @return string|bool|array|float|int|null
*/