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

Breadcrumb

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

function UriRetrieverInterface::retrieve

Same name in this branch
  1. 11.1.x vendor/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.php \JsonSchema\UriRetrieverInterface::retrieve()

Retrieve a schema from the specified URI

Parameters

string $uri URI that resolves to a JSON schema:

Return value

mixed string|null

Throws

\JsonSchema\Exception\ResourceNotFoundException

3 methods override UriRetrieverInterface::retrieve()
Curl::retrieve in vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php
FileGetContents::retrieve in vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php
PredefinedArray::retrieve in vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php

File

vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/UriRetrieverInterface.php, line 28

Class

UriRetrieverInterface
Interface for URI retrievers

Namespace

JsonSchema\Uri\Retrievers

Code

public function retrieve($uri);

API Navigation

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