Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConstraintInterface.php

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

... See full list

File

vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php, line 64

Class

ConstraintInterface
The Constraints Interface

Namespace

JsonSchema\Constraints

Code

public function check(&$value, $schema = null, ?JsonPointer $path = null, $i = null);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal