Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | final class Document implements DocumentInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var array|NamedTypeInterface[] |
||
24 | */ |
||
25 | public array $typeMap = []; |
||
26 | |||
27 | /** |
||
28 | * @var array|DirectiveInterface[] |
||
29 | */ |
||
30 | public array $directives = []; |
||
31 | |||
32 | /** |
||
33 | * @var SchemaInterface|null |
||
34 | */ |
||
35 | public ?SchemaInterface $schema = null; |
||
36 | |||
37 | /** |
||
38 | * {@inheritDoc} |
||
39 | */ |
||
40 | public function getTypeMap(): iterable |
||
41 | { |
||
42 | return $this->typeMap; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | */ |
||
48 | public function getDirectives(): iterable |
||
49 | { |
||
50 | return $this->directives; |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * {@inheritDoc} |
||
55 | */ |
||
56 | public function getSchema(): ?SchemaInterface |
||
59 | } |
||
60 | } |
||
61 |