class DoctrineTransactionMiddleware implements MiddlewareInterface
Wraps all handlers in a single doctrine transaction.
| __construct(ManagerRegistry $managerRegistry, string|null $entityManagerName) | ||
| mixed | handle($message, callable $next) |
| ManagerRegistry | $managerRegistry | |
| string|null | $entityManagerName |
| $message | ||
| callable | $next |
| mixed |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Doctrine/Messenger/DoctrineTransactionMiddleware.html