Doctrine many-to-many association with attributes