You are here

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

Class

Uuid
@author Colin O'Dell <colinodell@gmail.com> @author Bernhard Schussek <bschussek@gmail.com>

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::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
  self::INVALID_HYPHEN_PLACEMENT_ERROR => 'INVALID_HYPHEN_PLACEMENT_ERROR',
  self::INVALID_VERSION_ERROR => 'INVALID_VERSION_ERROR',
  self::INVALID_VARIANT_ERROR => 'INVALID_VARIANT_ERROR',
);