$sqlStatement = <<<SQL
INSERT INTO `s_sitemap_custom`
(`url`, `change_freq`, `last_mod`, `priority`, `shop_id`)
VALUES (:url, :changeFreq, :lastMod, :priority, :shopId)
SQL;
foreach ($customUrls as $customUrl) { $statement =
$this->connection->
prepare($sqlStatement);
$shopId =
$customUrl['shopId'
] ?: null;
$statement->
bindParam(':url',
$customUrl['url'
]);
$statement->
bindParam(':changeFreq',
$customUrl['changeFreq'
]);
$statement->
bindParam(':lastMod',
$customUrl['lastMod'
]);
$statement->
bindParam(':priority',
$customUrl['priority'
]);
$statement->
bindParam(':shopId',
$shopId);
$statement->
execute();
} } private function migrateExcludedUrls(array
$excludedUrls): void
{