This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 385 Bytes
<?php
namespace League\JsonGuard;
interface ConstraintInterface
{
/**
* @param mixed $value
* @param mixed $parameter
* @param Validator $validator
*
* @return \League\JsonGuard\ValidationError|null
*
* @throws \League\JsonGuard\Exception\InvalidSchemaException
*/
public function validate($value, $parameter, Validator $validator);
}