Open petrosd7 opened 7 years ago
You likely need to set the direction on one of those relations in order to say which way the relationship must be read. See https://github.com/lphuberdeau/Neo4j-PHP-OGM/blob/master/lib/HireVoice/Neo4j/Annotation/ManyToMany.php
I have setup a model MedicalIssue with
/**
function __construct(DoctorPatient $doctorPatient = null) { $this->symptoms = new ArrayCollection();
$issue->addSymptom($symptom); $em->persist($issue); $em->persist($syptom); $em-flush() it is saved succesfully but when $symptom->setMedicalIssue($symptom) $em->persist($issue); $em->persist($syptom); $em-flush()