interface ValidatorInterface implements MetadataFactoryInterface
Validates PHP values against constraints.
Methods
MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. from MetadataFactoryInterface bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. from MetadataFactoryInterface ConstraintViolationListInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null