class ApplyCustomizationsToSiteCommandHandler (View source)

Traits

Properties

protected StyleValueListFactory $styleValueListFactory
protected NormalizedVariableCollectionFactory $variableCollectionFactory
protected Connection $db

Methods

__construct(StyleValueListFactory $styleValueListFactory, NormalizedVariableCollectionFactory $variableCollectionFactory, Connection $db)

No description

populateData($theme, $command)

No description

__invoke(ApplyCustomizationsToSiteCommand $command)

No description

Details

addPresetFontsFileStyleToStyleValueList(LegacyCustomizerType $type, PresetInterface $preset, StyleValueList $styleValueList)

No description

Parameters

LegacyCustomizerType $type
PresetInterface $preset
StyleValueList $styleValueList

__construct(StyleValueListFactory $styleValueListFactory, NormalizedVariableCollectionFactory $variableCollectionFactory, Connection $db)

No description

Parameters

StyleValueListFactory $styleValueListFactory
NormalizedVariableCollectionFactory $variableCollectionFactory
Connection $db

protected populateData($theme, $command)

No description

Parameters

$theme
$command

__invoke(ApplyCustomizationsToSiteCommand $command)

No description

Parameters

ApplyCustomizationsToSiteCommand $command