'description' => 'Shopware Basis Template',
],
],
],
];
foreach ($mails as $mail) { $typeName =
$mail['type'
]['technicalName'
];
$templateTypeId =
$this->
insertMailTemplateTypeData($typeName,
$mail,
$connection);
$this->
insertMailTemplateData($templateTypeId,
$mail,
$connection);
$this->
updateMailTemplateContent($typeName,
$mail,
$connection);
} } public function updateDestructive(Connection
$connection): void
{ } private function fetchLanguageIdByName(string
$name, Connection
$connection): ?string
{ try { $result =
$connection->
fetchOne(