Add annotation with bundled entity in Symfony

71 views Asked by At

I have a some entities in a Symfony bundle which has its own field configuration in the bundle.

For example: FOSUserBundle.

Now, I want to add some more configuration through annotation or xml.

For example: I want to apply some serialization parameters or Assert validation or Gedmo parameters. How can I achieve this without rewriting the whole entity?

0

There are 0 answers