app/Http/Requests/EducationDetailsValidator.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 [
            'degree' =>'required',
            'board'=>'required',
            'faculty'=>'required',
            'insname'=>'required',
            'insaddress'=>'required',
            'pasyear'=>'required',
            'division'=>'required'
        ];
    }
public function rules ( ) { return [ 'degree' => 'required' , 'board' => 'required' , 'faculty' => 'required' , 'insname' => 'required' , 'insaddress' => 'required' , 'pasyear' => 'required' , 'division' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .