1 | <?php |
||
9 | class TypePluginManager extends DefaultPluginManager implements TypePluginManagerInterface { |
||
10 | |||
11 | /** |
||
12 | * Static cache of plugin instances. |
||
13 | * |
||
14 | * @var \Drupal\graphql\Plugin\TypePluginInterface[] |
||
15 | */ |
||
16 | protected $instances; |
||
17 | |||
18 | /** |
||
19 | * TypePluginManager constructor. |
||
20 | * |
||
21 | * @param bool|string $pluginSubdirectory |
||
22 | * The plugin's subdirectory. |
||
23 | * @param \Traversable $namespaces |
||
24 | * An object that implements \Traversable which contains the root paths |
||
25 | * keyed by the corresponding namespace to look for plugin implementations. |
||
26 | * @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler |
||
27 | * The module handler. |
||
28 | * @param \Drupal\Core\Cache\CacheBackendInterface $cacheBackend |
||
29 | * The cache backend. |
||
30 | * @param string|null $pluginInterface |
||
31 | * The interface each plugin should implement. |
||
32 | * @param string $pluginAnnotationName |
||
33 | * The name of the annotation that contains the plugin definition. |
||
34 | * @param string $pluginType |
||
35 | * The plugin type. |
||
36 | */ |
||
37 | public function __construct( |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getInstance(array $options) { |
||
69 | |||
70 | } |
||
71 |