Total Complexity | 12 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class AbstractObjectField implements ObjectFieldInterface, ArgumentsAwareInterface |
||
14 | { |
||
15 | use FieldExtractorTrait; |
||
16 | |||
17 | protected string $name; |
||
18 | |||
19 | protected string $description; |
||
20 | |||
21 | protected string $type; |
||
22 | |||
23 | protected int $mode; |
||
24 | |||
25 | protected string $deprecationReason; |
||
26 | |||
27 | protected iterable $arguments; |
||
28 | |||
29 | 14 | public function getName(): string |
|
32 | } |
||
33 | |||
34 | 14 | public function getDescription(): ?string |
|
35 | { |
||
36 | 14 | return $this->description ?? null; |
|
37 | } |
||
38 | |||
39 | 14 | public function getDeprecationReason(): ?string |
|
40 | { |
||
41 | 14 | return $this->deprecationReason ?? null; |
|
42 | } |
||
43 | |||
44 | 14 | public function getType(): string |
|
47 | } |
||
48 | |||
49 | 14 | public function getMode(): int |
|
52 | } |
||
53 | |||
54 | 14 | public function getArguments(): iterable |
|
71 |