You are here

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

Class

Length
@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',
);