コード例 #1
0
 public function getValidator(QuestionType $type)
 {
     return $this->validators[$type->getValue()];
 }
コード例 #2
0
ファイル: SurveyQuestion.php プロジェクト: sarhanm/sms-survey
 /**
  * @param QuestionType $type
  */
 public function setType(QuestionType $type)
 {
     $this->type = $type->getValue();
 }