You are here

protected static property Luhn::$errorNames in Plug 7

Maps error codes to the names of their constants

Type: array

Overrides Constraint::$errorNames

File

lib/Symfony/validator/Symfony/Component/Validator/Constraints/Luhn.php, line 31

Class

Luhn
Metadata for the LuhnValidator.

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
  self::CHECKSUM_FAILED_ERROR => 'CHECKSUM_FAILED_ERROR',
);