Closed azjezz closed 4 years ago
ping @DASPRiD and @asgrim
Personally, whilst I can see this could be useful (nice! :+1:), I don't think this package is the right place for this (the single concern is to wire Doctrine into a Psr\Container\ContainerInterface
with factories), but as it's @DASPRiD 's package it's really up to him :)
@asgrim agreed
This repository is now deprecated. If you are still experiencing this issue, please feel free to open a new issue at https://github.com/Roave/psr-container-doctrine/issues - thanks!
i intend to follow this up with a pull request.
i don't know if this should belong to this package, but would you be interested in a doctrine transaction middleware implementation ? it should be easy to do.
this is an example of a transaction middleware i have been using :
( i was inspired by the symfony/doctrine-bridge messenger middleware - https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Doctrine/Messenger/DoctrineTransactionMiddleware.php )