app/Http/Requests/AppointmenteValidator.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 [
            'appointment_taken_by'=>'required',
            'appointment_taken_with'=>'required',
            'date'=>'required',
            'time'=>'required',
            'appointment_for'=>'required',
            'remarks'=>'required'
        ];
    }
public function rules ( ) { return [ 'appointment_taken_by' => 'required' , 'appointment_taken_with' => 'required' , 'date' => 'required' , 'time' => 'required' , 'appointment_for' => 'required' , 'remarks' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .