You are here

SchemaPluginInterface.php in GraphQL 8.3

Same filename and directory in other branches
  1. 8.4 src/Plugin/SchemaPluginInterface.php

File

src/Plugin/SchemaPluginInterface.php
View source
<?php

namespace Drupal\graphql\Plugin;

use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Component\Plugin\DerivativeInspectionInterface;
interface SchemaPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {

  /**
   * Retrieves the schema.
   *
   * @return \GraphQL\Type\Schema
   *   The schema.
   */
  public function getSchema();

  /**
   * Validates the schema.
   *
   * @return null|array
   */
  public function validateSchema();

  /**
   * @return mixed
   */
  public function getServer();

}

Interfaces