Cnh()
Validates a Brazilian driver's license.
v::cnh()->assert('02650306461');
// Validation passes successfully| 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). |
- Identifications
| Version | Description |
|---|---|
| 3.0.0 | Templates changed |
| 0.5.0 | Created |