ex
Fork of mbed-os-example-mbed5-blinky by
dumi_doc-master/schema/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php@44:c1d8923072ba, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:27:22 2017 +0800
- Revision:
- 44:c1d8923072ba
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 44:c1d8923072ba | 1 | <?php |
| TMBOY | 44:c1d8923072ba | 2 | /** |
| TMBOY | 44:c1d8923072ba | 3 | * JsonSchema |
| TMBOY | 44:c1d8923072ba | 4 | * @filesource |
| TMBOY | 44:c1d8923072ba | 5 | */ |
| TMBOY | 44:c1d8923072ba | 6 | namespace JsonSchema\Uri\Retrievers; |
| TMBOY | 44:c1d8923072ba | 7 | |
| TMBOY | 44:c1d8923072ba | 8 | /** |
| TMBOY | 44:c1d8923072ba | 9 | * AbstractRetriever implements the default shared behavior |
| TMBOY | 44:c1d8923072ba | 10 | * that all descendant Retrievers should inherit |
| TMBOY | 44:c1d8923072ba | 11 | * @author Steven Garcia <webwhammy@gmail.com> |
| TMBOY | 44:c1d8923072ba | 12 | */ |
| TMBOY | 44:c1d8923072ba | 13 | abstract class AbstractRetriever implements UriRetrieverInterface |
| TMBOY | 44:c1d8923072ba | 14 | { |
| TMBOY | 44:c1d8923072ba | 15 | /** |
| TMBOY | 44:c1d8923072ba | 16 | * Media content type |
| TMBOY | 44:c1d8923072ba | 17 | * @var string |
| TMBOY | 44:c1d8923072ba | 18 | */ |
| TMBOY | 44:c1d8923072ba | 19 | protected $contentType; |
| TMBOY | 44:c1d8923072ba | 20 | |
| TMBOY | 44:c1d8923072ba | 21 | /** |
| TMBOY | 44:c1d8923072ba | 22 | * {@inheritDoc} |
| TMBOY | 44:c1d8923072ba | 23 | * @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::getContentType() |
| TMBOY | 44:c1d8923072ba | 24 | */ |
| TMBOY | 44:c1d8923072ba | 25 | public function getContentType() |
| TMBOY | 44:c1d8923072ba | 26 | { |
| TMBOY | 44:c1d8923072ba | 27 | return $this->contentType; |
| TMBOY | 44:c1d8923072ba | 28 | } |
| TMBOY | 44:c1d8923072ba | 29 | } |
