Home Documentation Download Pricing Buy Now

[Closed] With Doctrine2, how can I add a @Groups("group_name") annotation to my Entity properties in Skipper?

0 votes

Hi Skipper,

Just wondering how I add @Groups into my Skipper schema so that it exports the appropriate annotations for Doctrine?

Many thanks.
Damien.

asked Nov 9, 2020 in Solved by damoclark (160 points)
recategorized May 25, 2021 by ludek.vodicka

1 Answer

0 votes

Hello Damien,

Groups are not supported by Skipper because they are not @ORM annotations. It's a serialization bundle independent of Doctrine ORM.

answered Nov 9, 2020 by ludek.vodicka Skipper developer (140,530 points)

I understand. I thought skipper might wipe it out when I manually add it to my php file, but Skipper appears to leave that customisation intact, which is good.

Thanks
Damien.

Exactly as you wrote, Skipper touch only @ORM annotations, nothing more.

...