| Total Complexity | 6 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 14 | #[TargetAttribute(MutationField::class)] |
||
| 15 | final class AttributedMutationFieldListener extends AbstractAdditionalFieldListener |
||
| 16 | { |
||
| 17 | protected string $attribute = MutationField::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 |
|
| 38 | } |
||
| 39 | } |
||
| 42 |