public function vote(SurveyVote $vote, PlDict $answers) { $a = parent::vote($vote, $answers); foreach ($this->children as $child) { $child->vote($vote, $answers); } return $a; }
public function vote(SurveyVote $vote, PlDict $answers) { $a = parent::vote($vote, $answers); foreach ($this->children as $child) { $child->vote($vote, $answers); } return $a; }