You are here

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

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::INVALID_VALUE_ERROR => 'INVALID_VALUE_ERROR',
  self::BEYOND_RANGE_ERROR => 'BEYOND_RANGE_ERROR',
  self::BELOW_RANGE_ERROR => 'BELOW_RANGE_ERROR',
);