コード例 #1
0
ファイル: QuizMatch.php プロジェクト: komnac/four-digits-game
 public function __construct(Quiz $quiz, Word $answer)
 {
     $this->quest = $quiz->getQuestWord();
     $this->answer = $answer->truncate($this->quest->getLength());
     $this->doMatch();
 }