| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ValidFormEvent extends FormEvent |
||
| 9 | { |
||
| 10 | const NAME = 'valid'; |
||
| 11 | |||
| 12 | private ?FormInterface $currentForm; |
||
| 13 | |||
| 14 | 2 | public function __construct(FormInterface $form, mixed $data, ?FormInterface $currentForm = null) |
|
| 15 | { |
||
| 16 | 2 | parent::__construct($form, $data); |
|
| 17 | 2 | $this->currentForm = $currentForm; |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return FormInterface|null |
||
| 22 | */ |
||
| 23 | 2 | public function getCurrentForm(): ?FormInterface |
|
| 26 | } |
||
| 27 | |||
| 28 | } |