Warning: Undefined variable $namespace in C:\laragon\httpdocs\_cosendi\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
Warning: Undefined variable $class_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\validator\Validator.tpl.php on line 8
extends ConstraintValidator { public function validate(mixed $value, Constraint $constraint): void { /** @var
Warning: Undefined variable $constraint_class_name in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\validator\Validator.tpl.php on line 12
$constraint */ if (null === $value || '' === $value) { return; } // TODO: implement the validation here $this->context->buildViolation($constraint->message) ->setParameter('{{ value }}', $value) ->addViolation(); } }