public function removeAnswer(AnswerInterface $answer)
    {
        if ($this->hasAnswer($answer)) {
            $this->answers->removeElement($answer);
        }

        return $this;
    }
public function removeAnswer(AnswerInterface $answer)
    {
        if ($this->hasAnswer($answer)) {
            $this->answers->removeElement($answer);
        }

        return $this;
    }
public function removeAnswer ( AnswerInterface $ answer ) { if ( $ this -> hasAnswer ( $ answer ) ) { $ this -> answers -> removeElement ( $ answer ) ; } return $ this ; }
Remove answer from question

@param AnswerInterface $answer

@return $this
Remove answer from question