0

I am working on connecting FOSmessage bundle with ODM (mongoDB). I have follow

this link [1]: https://github.com/FriendsOfSymfony/FOSMessageBundle/blob/master/Resources/doc/01b-odm-models.md but I am getting The class 'UserManager\Sonata\UserBundle\Document\User' was not found in the chain configured namespaces Message\MessageBundle\Document error.

If some one already configure FOSmessage bundle with mongoDB or any other bundle. Please share.

Thanks.

1 Answers1

0

I use FOSMessageBundle and FOSUserBundle and both configured in mongoDB works well.

You only have to configure with mongoDB both bundles using the documentantion.

1- Configure FOSUserBundle

2- Configure FOSMessageBundle