dunglas/doctrine-json-odm

Using without Symphony - no setSerializer function in Type class?

zedle opened this issue · 3 comments

zedle commented

Using Doctrine ORM / DBAL >= 2.6.. Any idea how to get this working without Symphony? The setSerializer function seems to be missing.

Did you tried https://github.com/dunglas/doctrine-json-odm#install?
Can you copy the stack trace?

I just had this same problem. I solved it by installing the symfony/property-access component via composer.

Both of these libraries are dependencies so I guess this was rather some local issue.
Let me know if I need to reopen.