@@ 13-19 (lines=7) @@ | ||
10 | /** |
|
11 | * {@inheritdoc} |
|
12 | */ |
|
13 | public function getBatchedFieldResolver($parent, array $arguments, ResolveInfo $info) { |
|
14 | if (($plugin = $this->getPluginFromResolveInfo($info)) && $plugin instanceof BatchedFieldInterface) { |
|
15 | return $plugin->getBatchedFieldResolver($parent, $arguments, $info); |
|
16 | } |
|
17 | ||
18 | return NULL; |
|
19 | } |
|
20 | ||
21 | /** |
|
22 | * {@inheritdoc} |
|
@@ 24-30 (lines=7) @@ | ||
21 | /** |
|
22 | * {@inheritdoc} |
|
23 | */ |
|
24 | public function getBatchId($parent, array $arguments, ResolveInfo $info) { |
|
25 | if (($plugin = $this->getPluginFromResolveInfo($info)) && $plugin instanceof BatchedFieldInterface) { |
|
26 | return $plugin->getBatchId($parent, $arguments, $info); |
|
27 | } |
|
28 | ||
29 | return NULL; |
|
30 | } |
|
31 | ||
32 | /** |
|
33 | * {@inheritdoc} |