app/Http/Requests/StudentDetailRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'student_id'=>'required|integer',
            'ipa'=>'required|integer',
            'ips'=>'required|integer',
            'matematika'=>'required|integer'
        ];
    }
public function rules ( ) { return [ 'student_id' => 'required|integer' , 'ipa' => 'required|integer' , 'ips' => 'required|integer' , 'matematika' => 'required|integer' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .