public function QueryProcessor::__construct in GraphQL 8.3
Processor constructor.
Parameters
\Drupal\Core\Cache\Context\CacheContextsManager $contextsManager: The cache contexts manager service.
\Drupal\graphql\Plugin\SchemaPluginManager $pluginManager: The schema plugin manager.
\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The cache backend for caching query results.
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.
File
- src/
GraphQL/ Execution/ QueryProcessor.php, line 75
Class
Namespace
Drupal\graphql\GraphQL\ExecutionCode
public function __construct(CacheContextsManager $contextsManager, SchemaPluginManager $pluginManager, CacheBackendInterface $cacheBackend, RequestStack $requestStack) {
$this->contextsManager = $contextsManager;
$this->pluginManager = $pluginManager;
$this->cacheBackend = $cacheBackend;
$this->requestStack = $requestStack;
}