symftony/mongodb-odm-filters-bundle

This bundle just allow you to inject service in mongoDB ODM configuration filters

dev-master 2017-12-14 19:15 UTC

This package is not auto-updated.

Last update: 2024-11-13 05:29:24 UTC


README

This bundle just allow you to inject service in Doctrine filter param with the dependency injection @services You can also put parameter with %parameter.name% (Resolve by Symfony compiler pass)

doctrine_mongodb:
    ...
    document_managers:
        default:
            filters:
                my_filter:
                    class: MyFilterClass
                    parameters:
                        token_storage: "@services"
                    enabled: true