You are here

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

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::INVALID_FORMAT_ERROR => 'STRICT_CHECK_FAILED_ERROR',
  self::MX_CHECK_FAILED_ERROR => 'MX_CHECK_FAILED_ERROR',
  self::HOST_CHECK_FAILED_ERROR => 'HOST_CHECK_FAILED_ERROR',
);