Implement caching of query dto

This commit is contained in:
Tim
2025-05-04 16:47:39 +02:00
parent d62d34fb63
commit 59e068fbf7
6 changed files with 90 additions and 8 deletions

View File

@ -17,10 +17,8 @@ use Symfony\Component\Uid\Uuid;
class UserController extends AbstractController
{
public function __construct(
private EntityManagerInterface $em,
)
{
}
private readonly EntityManagerInterface $em,
) {}
#[Route('/profile', name: '_profile')]
public function profile(
@ -45,7 +43,8 @@ class UserController extends AbstractController
$user,
$form->get('plainPassword')->getData()
)
);
)
;
}
}
$this->addFlash('success', 'Profile updated successfully');