Email.php in Zircon Profile 8.0
File
vendor/symfony/validator/Constraints/Email.php
View source
<?php
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
class Email extends Constraint {
const INVALID_FORMAT_ERROR = 1;
const MX_CHECK_FAILED_ERROR = 2;
const HOST_CHECK_FAILED_ERROR = 3;
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',
);
public $message = 'This value is not a valid email address.';
public $checkMX = false;
public $checkHost = false;
public $strict;
}
Classes
Name |
Description |
Email |
@Target({"PROPERTY", "METHOD", "ANNOTATION"}) |