Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.35 KB

File metadata and controls

57 lines (42 loc) · 1.35 KB

Cnh

  • Cnh()

Validates a Brazilian driver's license.

v::cnh()->assert('02650306461');
// Validation passes successfully

Templates

Cnh::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be a CNH
inverted {{subject}} must not be a CNH

Template placeholders

Placeholder Description
subject The validated input or the custom validator name (if specified).

Categorization

  • Identifications

Changelog

Version Description
3.0.0 Templates changed
0.5.0 Created

See Also