src/User/UserField.php
protected function getUserMessages()
    {
        $messages = [];

        foreach ($this->repository->all() as $field) {
            foreach ($field->getOption('messages') as $rule => $message) {
                $messages[$field->getName().'.'.$rule] = $message;
            }
        }

        return $messages;
    }
protected function getUserMessages()
    {
        $messages = [];

        foreach ($this->repository->all() as $field) {
            foreach ($field->getOption('messages') as $rule => $message) {
                $messages[$field->getName().'.'.$rule] = $message;
            }
        }

        return $messages;
    }
protected function getUserMessages ( ) { $ messages = [ ] ; foreach ( $ this -> repository -> all ( ) as $ field ) { foreach ( $ field -> getOption ( 'messages' ) as $ rule => $ message ) { $ messages [ $ field -> getName ( ) . '.' . $ rule ] = $ message ; } } return $ messages ; }
Return user validation messages.

@return array
Return user validation messages .