* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ use Symfony\Component\Validator\Constraint; /** * Validates a given value. * * @author Bernhard Schussek */ interface ValidatorInterface { function validate($object, $groups = null); function validateProperty($object, $property, $groups = null); function validatePropertyValue($class, $property, $value, $groups = null); function validateValue($value, Constraint $constraint, $groups = null); }