I am trying to embed collection of Tag
forms to Service
form, according to this tutorial. Tag
and Service
entities have many-
Could you please try to implement code from this URL?
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/association-mapping.html#owning-and-inverse-side-on-a-manytomany-association
First, please try to change mapped/inverse sides, and remove $service->addTag($this);
from Tag::addService
method.