\JsonSchema\Uri\RetrieversUriRetrieverInterface

Interface for URI retrievers

Summary

Methods
Constants
retrieve()
getContentType()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

retrieve()

retrieve(string  $uri) : mixed

Retrieve a schema from the specified URI

Parameters

string $uri

URI that resolves to a JSON schema

Throws

\JsonSchema\Exception\ResourceNotFoundException

Returns

mixed —

string|null

getContentType()

getContentType() : string

Get media content type

Returns

string