You are here

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

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

Maps error codes to the names of their constants.

Type: array

Overrides Constraint::$errorNames

File

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

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::NO_SUCH_CHOICE_ERROR => 'NO_SUCH_CHOICE_ERROR',
  self::TOO_FEW_ERROR => 'TOO_FEW_ERROR',
  self::TOO_MANY_ERROR => 'TOO_MANY_ERROR',
);