Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | abstract class AbstractFieldResolver implements ResolverInterface |
||
8 | { |
||
9 | use ResolverTrait; |
||
10 | |||
11 | /** |
||
12 | * @param mixed $rootValue |
||
13 | * @param array $arguments |
||
14 | * @param mixed $context |
||
15 | * @param ResolveInfo|null $info |
||
16 | * @return mixed |
||
17 | */ |
||
18 | abstract public function resolve($rootValue, array $arguments, $context = null, ?ResolveInfo $info = null); |
||
19 | |||
20 | /** |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public function __invoke() |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function getResolveCallback(): ?callable |
||
38 |