$child): ?> spouseFamilies()->map(static function (Family $family): Collection { return $family->children(); })->flatten() ?>
isNotEmpty()): ?> 1): ?> $grandchildren, 'generations' => $generations - 1, 'show_spouse' => $show_spouse]) ?>
 
$child]) ?> spouseFamilies() as $spouse_family): ?> $spouse_family->spouse($child)]) ?>
 
count() === 1): ?>
count()): ?>
count() > 0): ?>