( ! ) Warning: Undefined variable $namespace in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/validator/Validator.tpl.php on line 3 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0116 | 358544 | {main}( ) | .../Validator.tpl.php:0 |
;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
class
( ! ) Warning: Undefined variable $class_name in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/validator/Validator.tpl.php on line 8 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0116 | 358544 | {main}( ) | .../Validator.tpl.php:0 |
extends ConstraintValidator
{
public function validate($value, Constraint $constraint)
{
/* @var
( ! ) Warning: Undefined variable $constraint_class_name in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/validator/Validator.tpl.php on line 12 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0116 | 358544 | {main}( ) | .../Validator.tpl.php:0 |
$constraint */
if (null === $value || '' === $value) {
return;
}
// TODO: implement the validation here
$this->context->buildViolation($constraint->message)
->setParameter('{{ value }}', $value)
->addViolation();
}
}