interface UriRetrieverInterface
Same name in this branch
- 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\RetrieversView 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 |