The flush method should be outside repositories
Kwadz opened this issue · comments
Richard commented
We can see a flush
method at DoctrineRepository.php#L31. According to this post, Doctrine repositories should be collections without flush.
🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6
Kwadz opened this issue · comments
We can see a flush
method at DoctrineRepository.php#L31. According to this post, Doctrine repositories should be collections without flush.