for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the login-cidadao project or it's bundles.
*
* (c) Guilherme Donato <guilhermednt on github>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LoginCidadao\ValidationBundle\Validator\Constraints;
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
class Email extends \Symfony\Component\Validator\Constraints\Email
{
* Returns the name of the class that validates this constraint.
* By default, this is the fully qualified name of the constraint class
* suffixed with "Validator". You can override this method to change that
* behaviour.
* @return string
public function validatedBy()
return EmailValidator::class;
}