protected static property Choice::$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/ Choice.php, line 30
Class
- Choice
- @Target({"PROPERTY", "METHOD", "ANNOTATION"})
Namespace
Symfony\Component\Validator\ConstraintsCode
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',
);