| 1 |
<?php |
| 2 |
/** |
| 3 |
* JsonSchema |
| 4 |
* |
| 5 |
* @filesource |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace JsonSchema\Uri\Retrievers; |
| 9 |
|
| 10 |
/** |
| 11 |
* AbstractRetriever implements the default shared behavior |
| 12 |
* that all descendant Retrievers should inherit |
| 13 |
* |
| 14 |
* @author Steven Garcia <[email protected]> |
| 15 |
*/ |
| 16 |
abstract class AbstractRetriever implements UriRetrieverInterface |
| 17 |
{ |
| 18 |
/** |
| 19 |
* Media content type |
| 20 |
* |
| 21 |
* @var string |
| 22 |
*/ |
| 23 |
protected $contentType; |
| 24 |
|
| 25 |
/** |
| 26 |
* {@inheritdoc} |
| 27 |
* |
| 28 |
* @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::getContentType() |
| 29 |
*/ |
| 30 |
public function getContentType() |
| 31 |
{ |
| 32 |
return $this->contentType; |
| 33 |
} |
| 34 |
} |