public function newAnswer($input) { parent::newAnswer($input); //attempt to match any scores foreach ($this->getAnswers() as $answer) { $this->matchScore($answer); } }