spouseFamilies()->map(static function (Family $family): Collection { return $family->children(); })->flatten(); ?>

fullName()) ?>

$children, 'generations' => $book_size - 1]) ?>
$individual]) ?> spouseFamilies() as $family) : ?> $family->spouse($individual)]) ?>
$book_size - 1, 'family' => $individual->childFamilies()->first()]) ?>
1) : ?>
$child, 'generations' => $generations - 1, 'book_size' => $book_size, 'spouses' => $spouses]) ?>