docs/validators/Cnh.md
Cnh()Validates a Brazilian driver's license.
v::cnh()->assert('02650306461');
// Validation passes successfully
Cnh::TEMPLATE_STANDARD| Mode | Template |
|---|---|
default | {{subject}} must be a CNH |
inverted | {{subject}} must not be a CNH |
| Placeholder | Description |
|---|---|
subject | The validated input or the custom validator name (if specified). |
| Version | Description |
|---|---|
| 3.0.0 | Templates changed |
| 0.5.0 | Created |