Doctrine\ORM\PersistentCollection::setOwner
INTERNAL: Sets the collection's owning entity together with the AssociationMapping that describes the association between the owner and the elements of the collection.
Signature
Parameters
$entity
— object$assoc
— array