DoctrineTransactionMiddleware
класс DoctrineTransactionMiddleware реализует MiddlewareInterface
Оборачивает все обработчики в одну транзакцию Doctrine.
Методы
| | __construct(ManagerRegistry $managerRegistry, string|null $entityManagerName) | |
| mixed | handle($message, callable $next) | |
Детали
__construct(ManagerRegistry $managerRegistry, string|null $entityManagerName)
Параметры
| ManagerRegistry | $managerRegistry | |
| string|null | $entityManagerName | |
mixed
handle($message, callable $next)
Параметры
Значение возврата