interface ValidatorInterface 
 deprecated 
since version 2.5, to be removed in 3.0. Use {@link \Symfony\Component\Validator\Validator\ValidatorInterface} instead. 
 Validates values and graphs of objects and arrays. 
Methods
 ConstraintViolationListInterface   validate(mixed $value, array|null $groups = null, bool $traverse = false, bool $deep = false) Validates a value.  
 ConstraintViolationListInterface   validateProperty(mixed $containingValue, string $property, array|null $groups = null)