Spec-Zone.ru › Symfony 4.1

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)

Параметры

$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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API