protected function performValidation($rules = [])
    {
        $validation = $this->makeValidator($rules);

        $result = $validation->passes();

        $this->setErrors($validation->messages());

        return $result;
    }
protected function performValidation($rules = [])
    {
        $validation = $this->makeValidator($rules);

        $result = $validation->passes();

        $this->setErrors($validation->messages());

        return $result;
    }
protected function performValidation ( $ rules = [ ] ) { $ validation = $ this -> makeValidator ( $ rules ) ; $ result = $ validation -> passes ( ) ; $ this -> setErrors ( $ validation -> messages ( ) ) ; return $ result ; }
Validate the model against it's rules, returning whether
or not it passes and setting the error messages on the
model if required.

@param  array $rules
@return bool
@throws \Watson\Validating\ValidationException
Validate the model against it s rules returning whether or not it passes and setting the error messages on the model if required .