Overrides UriRetrieverInterface::retrieve
\JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve()
public function retrieve($uri) { if (!array_key_exists($uri, $this->schemas)) { throw new \JsonSchema\Exception\ResourceNotFoundException(sprintf('The JSON schema "%s" was not found.', $uri)); } return $this->schemas[$uri]; }