behnampmdg3 said: Didn't work. Also many syntax errors. OMG. This is not copy & paste code ;)...
in short: in Controller: $errors = $this->userValidation->errors() in UserValidation: if$valid...
The Laravel portal for problem solving, knowledge sharing and community building.
The community