You are here

protected static property Length::$errorNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Constraints/Length.php \Symfony\Component\Validator\Constraints\Length::errorNames

Maps error codes to the names of their constants.

Type: array

Overrides Constraint::$errorNames

File

vendor/symfony/validator/Constraints/Length.php, line 28

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