| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ExampleAbstractInterfaceType extends AbstractInterfaceType implements ResolveTypeAwareInterface |
||
| 13 | { |
||
| 14 | protected string $name = 'ExampleAbstractInterfaceType'; |
||
| 15 | |||
| 16 | protected iterable $fields = [ |
||
| 17 | 'lastname' => 'String', |
||
| 18 | 'firstname' => [ |
||
| 19 | 'type' => 'String', |
||
| 20 | 'mode' => TypeAwareInterface::IS_REQUIRED, |
||
| 21 | 'description' => 'User firstname', |
||
| 22 | ], |
||
| 23 | ]; |
||
| 24 | |||
| 25 | public static function resolveType(mixed $value, mixed $context, Webonyx\ResolveInfo $info): ?string |
||
| 33 |