'write',
ProductDefinition::ENTITY_NAME,
SyncOperation::ACTION_UPSERT,
$payload ),
new SyncOperation( 'write',
ProductConfiguratorSettingDefinition::ENTITY_NAME,
SyncOperation::ACTION_UPSERT,
$configuratorSettingPayload ),
], Context::
createDefaultContext(),
new SyncBehavior());
} public function reset(): void
{ $this->groupIdCache =
[];
$this->optionIdCache =
[];
} /**
* convert "size: m, l, xl" to ["size|m", "size|l", "size|xl"]
*
* @return list<array<string>>
*/