Within the following code, $quiz_object->personalities contains an array of Personality objects.
$quiz_object->personalities
Personality
// Loop through each personality th
I know this post is old but I think this may help someone:
In PhpStorm works this way, maybe in others too.
/** * @param ClassName[] $variables */ public function loopFunction($variables){ foreach ($variables as $variable) { echo $variable->functionName(); } }