Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
17 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);
}
You can’t perform that action at this time.