validate_orig($request, vali($rules), $messages, $customAttributes)); } public function validateWithBag($errorBag, Request $request, array $rules, array $messages = [], array $customAttributes = []) { return objBag($this->validateWithBag_orig($errorBag, $request, vali($rules), $messages, $customAttributes)); } protected function backWithErrors($errors) { return back()->withInput()->withErrors($errors); } }