| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function __invoke(string $uuid): Response |
||
| 35 | { |
||
| 36 | $user = $this->finder->findOneByUuid($uuid); |
||
| 37 | $form = $this->createForm(UserType::class, $user, [ |
||
| 38 | 'action' => $this->generateUrl('admin_user_update', ['uuid' => $uuid]), |
||
| 39 | 'method' => 'PUT', |
||
| 40 | ]); |
||
| 41 | |||
| 42 | return $this->render('Administration/User/edit.html.twig', [ |
||
| 43 | 'form' => $form->createView(), |
||
| 44 | ]); |
||
| 47 |