original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Create component form.
  
  @param string $name
  @return Form
docstring_tokens: Create component form .