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

Public Member Functions

 __construct (array $schemas, $contentType=Validator::SCHEMA_MEDIA_TYPE)
 
 retrieve ($uri)
 
- Public Member Functions inherited from JsonSchema\Uri\Retrievers\AbstractRetriever
 getContentType ()
 

Additional Inherited Members

- Protected Attributes inherited from JsonSchema\Uri\Retrievers\AbstractRetriever
 $contentType
 

Constructor & Destructor Documentation

JsonSchema\Uri\Retrievers\PredefinedArray::__construct ( array  $schemas,
  $contentType = Validator::SCHEMA_MEDIA_TYPE 
)

Constructor

Parameters
array$schemas
string$contentType

Member Function Documentation

JsonSchema\Uri\Retrievers\PredefinedArray::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

See Also
::retrieve()

Implements JsonSchema\Uri\Retrievers\UriRetrieverInterface.


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