Doctrine2: Best way to handle many-to-many with extra columns in reference table Doctrine2: Best way to handle many-to-many with extra columns in reference table php php