初始化代码
This commit is contained in:
29
vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php
vendored
Normal file
29
vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* JsonSchema
|
||||
* @filesource
|
||||
*/
|
||||
namespace JsonSchema\Uri\Retrievers;
|
||||
|
||||
/**
|
||||
* AbstractRetriever implements the default shared behavior
|
||||
* that all decendant Retrievers should inherit
|
||||
* @author Steven Garcia <webwhammy@gmail.com>
|
||||
*/
|
||||
abstract class AbstractRetriever implements UriRetrieverInterface
|
||||
{
|
||||
/**
|
||||
* Media content type
|
||||
* @var string
|
||||
*/
|
||||
protected $contentType;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::getContentType()
|
||||
*/
|
||||
public function getContentType()
|
||||
{
|
||||
return $this->contentType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user