SensioFrameworkExtraBundle icon indicating copy to clipboard operation
SensioFrameworkExtraBundle copied to clipboard

add Doctrine MongoDB converter

Open IonBazan opened this issue 2 years ago • 0 comments

This PR introduces Doctrine MongoDB converter. Since DoctrineParamConverter relies on Doctrine\Persistence\ManagerRegistry, it can consume any persistence engine so we can simply replace the argument to make it work same as ORM.

The only thing that is ORM-specific is the name of entity_manager option - it should be named object_manager but I decided to keep it as is for BC.

IonBazan avatar Jul 28 '21 11:07 IonBazan