1 | <?php |
||
9 | class Schema extends AbstractSchema { |
||
10 | |||
11 | /** |
||
12 | * The corresponding plugin for this schema. |
||
13 | * |
||
14 | * @var \Drupal\graphql\Plugin\GraphQL\SchemaPluginInterface |
||
15 | */ |
||
16 | protected $plugin; |
||
17 | |||
18 | /** |
||
19 | * Schema constructor. |
||
20 | * |
||
21 | * @param \Drupal\graphql\Plugin\GraphQL\SchemaPluginInterface $plugin |
||
22 | * The corresponding plugin instance for this schema. |
||
23 | * @param array $config |
||
24 | * The schema configuration array. |
||
25 | */ |
||
26 | public function __construct(SchemaPluginInterface $plugin, array $config = []) { |
||
30 | |||
31 | /** |
||
32 | * Retrieves the schema's plugin instance. |
||
33 | * |
||
34 | * @return \Drupal\graphql\Plugin\GraphQL\SchemaPluginInterface |
||
35 | * The schema plugin instance. |
||
36 | */ |
||
37 | public function getSchemaPlugin() { |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function build(SchemaConfig $config) { |
||
47 | |||
48 | } |
||
49 |