FormatsMessages
 trait Winter\Storm\Validation\Concerns\FormatsMessagesMethods
protected getMessage (string $attribute, string $rule) : string
Get the validation message for an attribute and rule.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $attribute | string | string | 
| $rule | string | string | 
Returns
            string
                protected getMessageInExtension (string $rule) : string
Calls the message() method for an extended rule and returns the result as a string.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $rule | string | string | 
Returns
            string
                protected hasMessageInExtension (string $rule) : bool
Determines if an extended rule has a message() method that provides a fallback message.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $rule | string | string | 
Returns
            bool
                Used by
| Class | Description | 
|---|---|
| Validator | Winter CMS wrapper for the Laravel Validator class. | 
            
            ← Previous page
            Winter\Storm\Translation\Translator
        
                
            Next page →
            Winter\Storm\Validation\Concerns\ValidatesEmail
        
    
    Copyright © 2025 Winter CMS