Symfony\Component\Validator\ValidatorInterface
Validates values and graphs of objects and arrays.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
interface ValidatorInterface
{
- // methods
- public ConstraintViolationListInterface validate()
- public ConstraintViolationListInterface validateProperty()
- public ConstraintViolationListInterface validatePropertyValue()
- public ConstraintViolationListInterface validateValue()
- public MetadataFactoryInterface getMetadataFactory()
Methods
public
- getMetadataFactory() — Returns the factory for metadata instances.
- validate() — Validates a value.
- validateProperty() — Validates a property of a value against its current value.
- validatePropertyValue() — Validate a property of a value against a potential value.
- validateValue() — Validates a value against a constraint or a list of constraints.