app/Http/Requests/FeedbackRequest.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 [
            'title' => 'required|max:255|min:3',
            'description' => 'required|max:30000|min:3',
            'mail' => 'nullable|email',
            'consent' => 'required|accepted'
        ];
    }
public function rules ( ) { return [ 'title' => 'required|max:255|min:3' , 'description' => 'required|max:30000|min:3' , 'mail' => 'nullable|email' , 'consent' => 'required|accepted' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .