app/Http/Requests/Qualite/QualiteRequest.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 [
            'qualite_fr' => 'required|unique:qualites,qualite_fr|max:200',
            'qualite_ar' => 'required|unique:qualites,qualite_ar|max:200',
        ];
    }
public function rules ( ) { return [ 'qualite_fr' => 'required|unique:qualites,qualite_fr|max:200' , 'qualite_ar' => 'required|unique:qualites,qualite_ar|max:200' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .