UriRetrieverInterface
in
Interface for URI retrievers
Tags
Table of Contents
Methods
- getContentType() : string
- Get media content type
- retrieve() : mixed
- Retrieve a schema from the specified URI
Methods
getContentType()
Get media content type
public
getContentType() : string
Return values
stringretrieve()
Retrieve a schema from the specified URI
public
retrieve(string $uri) : mixed
Parameters
- $uri : string
-
URI that resolves to a JSON schema
Tags
Return values
mixed —string|null