Mistake in documentation
Collapse
X
-
Mistake in documentation
Hello yuri
There is a mistake in documentation:
Instead of getRelation($acocunt there should be getRelation($account$opportunityCollection = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->limit(0, 10) ->where($whereClause) ->find();
$opportunity = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->order('createdAt', 'DESC') ->findOne();
Small, i know
Tags: None

Leave a comment: