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

Breadcrumb

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

interface UriRetrieverInterface

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

Interface for URI retrievers

@author Sander Coolen <sander@jibber.nl>

Hierarchy

  • interface \JsonSchema\Uri\Retrievers\UriRetrieverInterface

Expanded class hierarchy of UriRetrieverInterface

All classes that implement UriRetrieverInterface

1 file declares its use of UriRetrieverInterface
UriRetriever.php in vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php

File

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

Namespace

JsonSchema\Uri\Retrievers
View source
interface UriRetrieverInterface {
    
    /**
     * Retrieve a schema from the specified URI
     *
     * @param string $uri URI that resolves to a JSON schema
     *
     * @throws \JsonSchema\Exception\ResourceNotFoundException
     *
     * @return mixed string|null
     */
    public function retrieve($uri);
    
    /**
     * Get media content type
     *
     * @return string
     */
    public function getContentType();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
UriRetrieverInterface::getContentType public function Get media content type 1
UriRetrieverInterface::retrieve public function Retrieve a schema from the specified URI 3

API Navigation

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