4gamjq
Last Updated: February 25, 2016
·
1.659K
· lsouza

MongoDB ODM Param Converter service

In order to get the Param Converter annotation to work with the doctrine ODM you must register a service that enables the ODM registry manager.

You just have to register a service like this:

my_bundle.converter.doctrine.mongodb:
    class: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter
    arguments: [@doctrine_mongodb]
    tags:
        - { name: request.param_converter }
Say Thanks
Respond

1 Response
Add your response

15331
7ff4604880694c29505d5c1af8e4caf0

What's the best option to get this working together with ORM ? Since this method will override that behavior.

over 1 year ago ·