form; } /** * @inheritDoc */ public function getWebhookSerializable(): array { return $this->form->read(); } } } else { // need this block as long as NC < 30 is supported abstract class AbstractFormEvent extends Event { public function __construct( protected Form $form, ) { parent::__construct(); } public function getForm(): Form { return $this->form; } public function getWebhookSerializable(): array { return $this->form->read(); } } }