function UriRetrieverInterface::retrieve
Same name in this branch
- 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\RetrieversCode
public function retrieve($uri);