M1: CRUD-Slice 'Mahlzeit' Schritt 2 – UI (Controller, Templates, Routen, Feature-Tests)

This commit is contained in:
2026-09-19 10:17:55 +02:00
parent 1589088379
commit 160b89f5a1
11 changed files with 536 additions and 9 deletions
@@ -22,7 +22,7 @@ final class EntityManagerTransactionManager implements TransactionManagerInterfa
public function execute(\Closure $work): mixed
{
try {
return $this->em->transactional(static fn () => $work($work));
return $this->em->wrapInTransaction($work);
} catch (\Throwable $e) {
$this->em->clear();
throw $e;