1 | <?php |
||
18 | class Field |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public $name; |
||
24 | |||
25 | /** |
||
26 | * FQCN of PHP class implementing the GraphQL type |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | public $type; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | public $description; |
||
36 | |||
37 | /** |
||
38 | * @var array<GraphQL\Doctrine\Annotation\Argument> |
||
39 | */ |
||
40 | public $args = []; |
||
41 | |||
42 | public function toArray(): array |
||
56 | } |
||
57 |