Rule
class Rule extends ValidationRule
Properties
| protected array<array|Rule|string|ValidationRule|ValidationRule> | $rules |
Methods
__construct(string|array|ValidationRule|Rule|ValidationRule ...$rules)
Create a custom rule attribute.
array
get()
Get the wrapped Validator rules.
Details
at line 21
__construct(string|array|ValidationRule|Rule|ValidationRule ...$rules)
Create a custom rule attribute.
at line 29
array
get()
Get the wrapped Validator rules.