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

Breadcrumb

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

function Validator::check

Alias to validate(), to maintain backwards-compatibility with the previous API

File

vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php, line 76

Class

Validator
A JsonSchema Constraint

Namespace

JsonSchema

Code

public function check($value, $schema) {
    return $this->validate($value, $schema);
}

API Navigation

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