You are here

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

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
  self::INVALID_DATE_ERROR => 'INVALID_DATE_ERROR',
);