Entity managers now have to implement the ApiBundle\Doctrine\ORM\Manager\Interface.
The chain pattern have been used to register all tagged entity managers and pass them to ApiBundle\Doctrine\ORM\Manager\EntityManagerChain.
This refactoring impacted:
The API event listener, which call the proper manager for update and delete operations without having to do any more than registering the managers used
The DataFixtures loader, which now use a processor to call the managers before persisting the objects
Entity managers now have to implement the
ApiBundle\Doctrine\ORM\Manager\Interface
.The chain pattern have been used to register all tagged entity managers and pass them to
ApiBundle\Doctrine\ORM\Manager\EntityManagerChain
.This refactoring impacted: