Within the following code, $quiz_object->personalities
contains an array of Personality
objects.
// Loop through each personality th
If you want actual type declarations in the code as opposed to comments that could be picked up differently depending on the IDE, you can use the array_*
functions, for example array_walk.
array_walk($quiz_object->personalities, function (Personality $p) {
echo $existing_personality->GetQuizMakerPersonalityHTML();
});