Luhn

Luhn

class Luhn extends Constraint

Metadata for the LuhnValidator.

Constants

DEFAULT_GROUP

The name of the group given to all constraints with no explicit group.

CLASS_CONSTRAINT

Marks a constraint that can be put onto classes.

PROPERTY_CONSTRAINT

Marks a constraint that can be put onto properties.

INVALID_CHARACTERS_ERROR
CHECKSUM_FAILED_ERROR

Properties

mi