Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
14 | #[TargetAttribute(QueryField::class)] |
||
15 | final class AttributedQueryFieldListener extends AbstractAdditionalFieldListener |
||
16 | { |
||
17 | protected string $attribute = QueryField::class; |
||
18 | |||
19 | 3 | public function __construct( |
|
20 | ReaderInterface $reader, |
||
21 | TypeRegistryInterface $typeRegistry, |
||
22 | private readonly GraphQLConfig $config, |
||
23 | ) { |
||
24 | 3 | parent::__construct($reader, $typeRegistry); |
|
25 | } |
||
26 | |||
27 | 2 | public function finalize(): void |
|
33 | } |
||
34 | } |
||
37 |