$prepareStatement =
$this->connection->
prepare($sql);
$prepareStatement->
execute(['email' =>
$shop->email
]);
} private function updateShopName(Shop
$shop) { $this->
updateConfigValue('shopName',
$shop->name
);
} private function generateEsdKey() { $this->
updateConfigValue('esdKey',
strtolower($this->generator->
generateUniqueId(33
)));
} /**
* @param string $elementName
*/
private function updateConfigValue($elementName,
$value) { $sql = <<<'EOT'
DELETE
FROM s_core_config_values
WHERE element_id =
(SELECT id FROM s_core_config_elements WHERE name=:elementName)
AND shop_id = 1