new Passwords()
new Passwords(Closure|array|string|null $rules = null, array|string|null $hint = null, array|string|null $error = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $rules | Closureorarrayorstringornull |
null
|
Preset rules, a regex or a callback |
| $hint | arrayorstringornull |
null
|
Hint text or per-locale array of hints |
| $error | arrayorstringornull |
null
|
Custom error message or per-locale array |