$data =
array_merge($data,
$translation);
$option->
setId((int) $data['__propertyOption_id'
]);
$option->
setName($data['__propertyOption_value'
]);
$option->
setPosition((int) $data['__propertyOption_position'
]);
if ($data['__propertyOptionAttribute_id'
]) { $this->attributeHydrator->
addAttribute($option,
$data, 'propertyOptionAttribute', 'core', 'propertyOption'
);
} if (isset($data['__media_id'
]) &&
$data['__media_id'
]) { $option->
setMedia( $this->mediaHydrator->
hydrate($data) );
} return $option;
} /**
* @param array<string, mixed> $data
*/
private function hydrateSet(array
$data): Set
{