/**
* @param array<string, mixed> $row
*/
private function addUserDefaults(array &
$row, Config
$config): void
{ $mappings =
$config->
getMapping()->
getElements();
foreach ($mappings as $mapping) { $csvKey =
$mapping->
getMappedKey();
if (!
$mapping->
isUseDefaultValue()) { continue;
} if (!\
array_key_exists($csvKey,
$row) ||
empty($row[$csvKey])) { $row[$csvKey] =
$mapping->
getDefaultValue();
} } } /**
* @param array<string, mixed> $row
*/