app/Http/Requests/AvgRequest.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 [
            'avg_sleep_mode' => 'required',
            'sample_type' => 'required',
            'measuring_form' => 'required',
            'hw_version' => 'required'
        ];
    }
public function rules ( ) { return [ 'avg_sleep_mode' => 'required' , 'sample_type' => 'required' , 'measuring_form' => 'required' , 'hw_version' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .