0

I am new with Symfony. I have 3 Tables (user, group, role), for these tables I created an entity class for each one. Here are some conditions to meet:

  • Every User could be in several groups
  • Every group can have several roles
  • Each user can have many roles through group ca.

So my question is, how i can draw the relationship to these three tables with doctrine on a single pivot table? is it possible?

here is an image enter image description here

I am sharing this for your convenience.

ofaruk
  • 72
  • 6

0 Answers0