This is my omg class :
* @OGM\Relationship(targetEntity="Personne", type="SUIT", direction="OUTGOING")
$marc = $this->em->getRepository(Personne::class)->findOneBy('nom', 'marc');
It is returning only one related "Personne" because you didn't defined the
amis properties as a collection in the mapping :
collection=true in the
NB: In PHP 7.1, typed properties can make it in, a future version of the OGM might take advantage of it (meaning then that this version would be 7.1+ only)
Actually I think the OGM should throw an exception in case there is more than one relationship found.