schmittjoh/JMSSerializerBundle — Issue #78: Disable serializer for FOSUserBundle entities
Author: ruudk
Created: 2012-02-07 14:04:06+00:00
State: open

I am using the FOSUserBundle and have my own entity extended of the FOSUserBundle Model.

In my user entity I want to serialize some things. But the rest should be excluded.

So I added `@Serializer\ExclusionPolicy("all")` but somehow all the UserBundle's properties are exposed.

In my cache directory I keep getting this file: `serializer/FOS-UserBundle-Model-User.cache.php`.

How can I get rid of this?