BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
JsonSchema\Uri\Retrievers\UriRetrieverInterface Interface Reference
Inheritance diagram for JsonSchema\Uri\Retrievers\UriRetrieverInterface:

Public Member Functions

 retrieve ($uri)
 
 getContentType ()
 

Detailed Description

Interface for URI retrievers

Author
Sander Coolen sande.nosp@m.r@ji.nosp@m.bber..nosp@m.nl

Member Function Documentation

JsonSchema\Uri\Retrievers\UriRetrieverInterface::getContentType ( )

Get media content type

Returns
string

Implemented in JsonSchema\Uri\Retrievers\AbstractRetriever.

JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve (   $uri)

Retrieve a schema from the specified URI

Parameters
string$uriURI that resolves to a JSON schema
Exceptions
\JsonSchema\Exception\ResourceNotFoundException
Returns
mixed string|null

Implemented in JsonSchema\Uri\Retrievers\PredefinedArray, JsonSchema\Uri\Retrievers\Curl, and JsonSchema\Uri\Retrievers\FileGetContents.


The documentation for this interface was generated from the following file: