src/GeneralControl.php
protected function createComponentForm(string $name): Form
    {
        $form = new Form($this, $name);
        $form->setTranslator($this->translator);
        $this->formContainer->getForm($form);

        $form->onSuccess[] = $this->eventContainer;
        return $form;
    }
protected function createComponentForm(string $name): Form
    {
        $form = new Form($this, $name);
        $form->setTranslator($this->translator);
        $this->formContainer->getForm($form);

        $form->onSuccess[] = $this->eventContainer;
        return $form;
    }
protected function createComponentForm ( string $ name ) : Form { $ form = new Form ( $ this , $ name ) ; $ form -> setTranslator ( $ this -> translator ) ; $ this -> formContainer -> getForm ( $ form ) ; $ form -> onSuccess [ ] = $ this -> eventContainer ; return $ form ; }
Create component form.

@param string $name
@return Form
Create component form .