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