| Total Complexity | 6 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 64.71% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class FieldEvent extends Event |
||
| 11 | { |
||
| 12 | private string $fieldName; |
||
| 13 | private ?string $type; |
||
| 14 | private ?FieldInterface $field; |
||
| 15 | private array $options; |
||
| 16 | private array $context; |
||
| 17 | |||
| 18 | 7 | public function __construct( |
|
| 30 | 7 | } |
|
| 31 | |||
| 32 | public function getFieldName(): string |
||
| 35 | } |
||
| 36 | |||
| 37 | 7 | public function getType(): ?string |
|
| 38 | { |
||
| 39 | 7 | return $this->type; |
|
| 40 | } |
||
| 41 | |||
| 42 | public function getField(): ?FieldInterface |
||
| 43 | { |
||
| 44 | return $this->field; |
||
| 45 | } |
||
| 46 | |||
| 47 | 7 | public function getOptions(): array |
|
| 50 | } |
||
| 51 | |||
| 52 | public function getContext(): array |
||
| 57 |