function ConstraintInterface::check
invokes the validation of an element
@abstract
Parameters
mixed $value:
mixed $schema:
JsonPointer|null $path:
mixed $i:
Throws
\JsonSchema\Exception\ExceptionInterface
9 methods override ConstraintInterface::check()
- CollectionConstraint::check in vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ CollectionConstraint.php - invokes the validation of an element
- EnumConstraint::check in vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ EnumConstraint.php - invokes the validation of an element
- FormatConstraint::check in vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ FormatConstraint.php - invokes the validation of an element
- NumberConstraint::check in vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ NumberConstraint.php - invokes the validation of an element
- ObjectConstraint::check in vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ ObjectConstraint.php - invokes the validation of an element
File
-
vendor/
justinrainbow/ json-schema/ src/ JsonSchema/ Constraints/ ConstraintInterface.php, line 64
Class
- ConstraintInterface
- The Constraints Interface
Namespace
JsonSchema\ConstraintsCode
public function check(&$value, $schema = null, ?JsonPointer $path = null, $i = null);