Change in validator.email service alias to match the validator FQCN
This commit is contained in:
parent
3cd1c9cd5b
commit
e79b3a9755
@ -73,7 +73,7 @@
|
|||||||
|
|
||||||
<service id="validator.email" class="%validator.email.class%">
|
<service id="validator.email" class="%validator.email.class%">
|
||||||
<argument></argument>
|
<argument></argument>
|
||||||
<tag name="validator.constraint_validator" alias="validator.email" />
|
<tag name="validator.constraint_validator" alias="Symfony\Component\Validator\Constraints\EmailValidator" />
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
</container>
|
</container>
|
||||||
|
@ -26,12 +26,4 @@ class Email extends Constraint
|
|||||||
public $checkMX = false;
|
public $checkMX = false;
|
||||||
public $checkHost = false;
|
public $checkHost = false;
|
||||||
public $strict = null;
|
public $strict = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function validatedBy()
|
|
||||||
{
|
|
||||||
return 'validator.email';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user