| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function createForm(Form $component): FormInterface |
||
| 40 | { |
||
| 41 | return $this->formFactory->create( |
||
| 42 | $component->getFormType(), |
||
| 43 | null, |
||
| 44 | [ |
||
| 45 | 'method' => 'POST', |
||
| 46 | 'action' => $this->router->generate('silverback_api_component_form_submit', [ |
||
| 47 | 'id' => $component->getId() |
||
| 48 | ]) |
||
| 63 |