I'm using Doctrine PHPCR for a project. And I have relationships between many classes:
class B
{
/** @Referrers(targetDocument="b") */
private $a;
}
class A
{
/** ReferenceOne(targetDocument="a") */
private $b;
private $c;
}
class C
{
/** @Referrers(targetDocument="c") */
private $a;
}
With this relation how I can do a multiple join:
If I use $queryBuilder->addJoinInner twice give me error: Join with Joins in a NotImplementException. I need all b data in my database with an given c instance