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