I'm hoping to get the findRelated function working
there is a one to many relationship between Claims and Adjuster
my code is as follows
this does not find any related Adjuster(s)
what do i need to do to get the related entities from another entity??
there is a one to many relationship between Claims and Adjuster
my code is as follows
Code:
$job = $entity->get('claimsId'); $entityManager = $this->getEntityManager(); $claim = $entityManager->getRepository('Claims')->get($jobs); $adjusterList = $entityManager->getRepository('Claims')->findRelated($claim, 'adjuster');
what do i need to do to get the related entities from another entity??
Comment