/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/exam
Edit: /home/techb158/ileadtechnology.com/SSM/app/Http/Requests/exam/QuestionRequest.php (1130B)
'required',
'question_type' => 'required',
'mark' => 'required|numeric|min:0'
];
}
/**
* Translate fields with user friendly name.
*
* @return array
*/
public function attributes()
{
return [
'question' => trans('exam.online_exam_question'),
'question_type' => trans('exam.online_exam_question_type'),
'mark' => trans('exam.online_exam_mark')
];
}
/**
* Get the error messages for the defined validation rules.
*
* @return array
*/
public function messages()
{
return [];
}
}