How to implement many-to-many with extra fields in symfony2?
Once an association has data, it's no more an association.
You have to implement two ManyToOne
instead of a ManyToMany
.
See this great answer on this question for a full example.
You can get a lot of other examples by googling the title of your question.