Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class FieldDefinition implements FieldDefinitionInterface |
||
8 | { |
||
9 | private string $type; |
||
10 | private array $options; |
||
11 | private array $formOptions; |
||
12 | |||
13 | 2 | public function __construct(string $type, array $options = [], array $formOptions = []) |
|
18 | 2 | } |
|
19 | |||
20 | 1 | public function getType(): ?string |
|
23 | } |
||
24 | |||
25 | 1 | public function getOptions(): array |
|
26 | { |
||
27 | 1 | return $this->options; |
|
28 | } |
||
29 | |||
30 | 2 | public function getFormOptions(): array |
|
33 | } |
||
34 | } |
||
35 |