Is there an easy way to mix the data of 2 object together?
I have
$child = object with first_name and gender
$family = object with last_name, adress, city, ...
I want
$person = object with first_name, last_name, gender, address, ...
I know you can merge arrays, but objects ... ?