| Total Complexity | 12 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| 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 | public function getName(): string |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getDescription(): ?string |
||
| 35 | { |
||
| 36 | return $this->description ?? null; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getDeprecationReason(): ?string |
||
| 40 | { |
||
| 41 | return $this->deprecationReason ?? null; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getType(): string |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getMode(): int |
||
| 50 | { |
||
| 51 | return $this->mode ?? 0; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function getArguments(): iterable |
||
| 67 | } |
||
| 68 | } |
||
| 71 |