1 | <?php |
||
11 | class SchemaPluginManager extends DefaultPluginManager { |
||
12 | |||
13 | /** |
||
14 | * Static cache for plugin instances. |
||
15 | * |
||
16 | * @var object[] |
||
17 | */ |
||
18 | protected $instances = []; |
||
19 | |||
20 | /** |
||
21 | * The dependency injection container. |
||
22 | * |
||
23 | * @var \Symfony\Component\DependencyInjection\ContainerInterface |
||
24 | */ |
||
25 | protected $container; |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function __construct( |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function createInstance($pluginId, array $configuration = []) { |
||
67 | |||
68 | /** |
||
69 | * Retrieves a schema builder instance. |
||
70 | * |
||
71 | * @param string $pluginId |
||
72 | * The plugin id. |
||
73 | * |
||
74 | * @return \Drupal\graphql\Plugin\GraphQL\SchemaBuilderInterface|NULL The schema builder. |
||
75 | * The schema builder. |
||
76 | * |
||
77 | * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException |
||
78 | */ |
||
79 | public function getSchemaBuilder($pluginId) { |
||
92 | |||
93 | } |
||
94 |