You are here

SchemaProviderBase.php in GraphQL 8.2

Same filename and directory in other branches
  1. 8 src/SchemaProvider/SchemaProviderBase.php

File

src/SchemaProvider/SchemaProviderBase.php
View source
<?php

namespace Drupal\graphql\SchemaProvider;

use Drupal\graphql\SchemaProviderInterface;

/**
 * Abstract base class for schema providers.
 */
abstract class SchemaProviderBase implements SchemaProviderInterface {

  /**
   * {@inheritdoc}
   */
  public function getQuerySchema() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getMutationSchema() {
    return [];
  }

}

Classes

Namesort descending Description
SchemaProviderBase Abstract base class for schema providers.