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

Breadcrumb

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

interface SchemaStorageInterface

Hierarchy

  • interface \JsonSchema\SchemaStorageInterface

Expanded class hierarchy of SchemaStorageInterface

All classes that implement SchemaStorageInterface

1 file declares its use of SchemaStorageInterface
Factory.php in vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php

File

vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php, line 5

Namespace

JsonSchema
View source
interface SchemaStorageInterface {
    
    /**
     * Adds schema with given identifier
     *
     * @param string $id
     * @param object $schema
     */
    public function addSchema($id, $schema = null);
    
    /**
     * Returns schema for given identifier, or null if it does not exist
     *
     * @param string $id
     *
     * @return object
     */
    public function getSchema($id);
    
    /**
     * Returns schema for given reference with all sub-references resolved
     *
     * @param string $ref
     *
     * @return object
     */
    public function resolveRef($ref);
    
    /**
     * Returns schema referenced by '$ref' property
     *
     * @param mixed $refSchema
     *
     * @return object
     */
    public function resolveRefSchema($refSchema);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SchemaStorageInterface::addSchema public function Adds schema with given identifier 1
SchemaStorageInterface::getSchema public function Returns schema for given identifier, or null if it does not exist 1
SchemaStorageInterface::resolveRef public function Returns schema for given reference with all sub-references resolved 1
SchemaStorageInterface::resolveRefSchema public function Returns schema referenced by '$ref' property 1

API Navigation

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