Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | #[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)] |
||
13 | final class Filter implements ApiAttribute |
||
14 | { |
||
15 | /** |
||
16 | * @param string $field Name of the field on which to apply the operator. |
||
17 | * |
||
18 | * The field may or may not actually exist in the entity. It is merely used |
||
19 | * to organize the filter correctly in the API. |
||
20 | * @param string $operator key referring to the type instance of PHP class implementing the GraphQL type |
||
21 | * @param string $type GraphQL leaf type name of the type of the field |
||
22 | */ |
||
23 | 17 | public function __construct( |
|
30 |