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

Breadcrumb

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

Factory::$constraintMap

Type: array

File

vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php, line 52

Class

Factory
Factory for centralize constraint initialization.

Namespace

JsonSchema\Constraints

Code

protected $constraintMap = array(
    'array' => 'JsonSchema\\Constraints\\CollectionConstraint',
    'collection' => 'JsonSchema\\Constraints\\CollectionConstraint',
    'object' => 'JsonSchema\\Constraints\\ObjectConstraint',
    'type' => 'JsonSchema\\Constraints\\TypeConstraint',
    'undefined' => 'JsonSchema\\Constraints\\UndefinedConstraint',
    'string' => 'JsonSchema\\Constraints\\StringConstraint',
    'number' => 'JsonSchema\\Constraints\\NumberConstraint',
    'enum' => 'JsonSchema\\Constraints\\EnumConstraint',
    'format' => 'JsonSchema\\Constraints\\FormatConstraint',
    'schema' => 'JsonSchema\\Constraints\\SchemaConstraint',
    'validator' => 'JsonSchema\\Validator',
);

API Navigation

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