You are here

protected static property Issn::$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/Issn.php, line 32

Class

Issn
@Target({"PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

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