1 | <?php |
||
25 | class InternalRequest extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
26 | |||
27 | /** |
||
28 | * The http kernel service. |
||
29 | * |
||
30 | * @var \Symfony\Component\HttpKernel\HttpKernelInterface |
||
31 | */ |
||
32 | protected $httpKernel; |
||
33 | |||
34 | /** |
||
35 | * The request stack. |
||
36 | * |
||
37 | * @var \Symfony\Component\HttpFoundation\RequestStack |
||
38 | */ |
||
39 | protected $requestStack; |
||
40 | |||
41 | /** |
||
42 | * The subrequest buffer service. |
||
43 | * |
||
44 | * @var \Drupal\graphql\GraphQL\Buffers\SubRequestBuffer |
||
45 | */ |
||
46 | protected $subRequestBuffer; |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
61 | |||
62 | /** |
||
63 | * InternalRequest constructor. |
||
64 | * |
||
65 | * @param array $configuration |
||
66 | * The plugin configuration array. |
||
67 | * @param string $pluginId |
||
68 | * The plugin id. |
||
69 | * @param mixed $pluginDefinition |
||
70 | * The plugin definition array. |
||
71 | * @param \Drupal\graphql\GraphQL\Buffers\SubRequestBuffer $subRequestBuffer |
||
72 | * The sub-request buffer service. |
||
73 | * @param \Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel |
||
74 | * The http kernel. |
||
75 | * @param \Symfony\Component\HttpFoundation\RequestStack $requestStack |
||
76 | * The request stack. |
||
77 | */ |
||
78 | public function __construct( |
||
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | protected function resolveValues($value, array $args, ResolveInfo $info) { |
||
120 | |||
121 | } |