Notice: Undefined variable: namespace in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\validator\Validator.tpl.php on line 3
; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; class
Notice: Undefined variable: class_name in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\validator\Validator.tpl.php on line 8
extends ConstraintValidator { public function validate($value, Constraint $constraint) { /* @var $constraint \
Notice: Undefined variable: constraint_class_name in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\validator\Validator.tpl.php on line 12
*/ if (null === $value || '' === $value) { return; } // TODO: implement the validation here $this->context->buildViolation($constraint->message) ->setParameter('{{ value }}', $value) ->addViolation(); } }