Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

AbstractRetriever.php

JsonSchema

source

Namespace

JsonSchema\Uri\Retrievers

File

vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php

View source
<?php


/**
 * JsonSchema
 *
 * @filesource
 */
namespace JsonSchema\Uri\Retrievers;


/**
 * AbstractRetriever implements the default shared behavior
 * that all descendant 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;
    }

}

Classes

Title Deprecated Summary
AbstractRetriever AbstractRetriever implements the default shared behavior that all descendant Retrievers should inherit

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal