Category: doctrine-extensions

How to get some child nodes by id with all parents (DoctrineExtensions, Gedmo-Tree NestedTreeRepository, Symfony)

Goal: I have a category entity. Every category can have subcategories. Now I want to get specific category nodes by id with all its parents My current solution (custom repository function): public function getChildrenHierarchyByCategoryIDs($categoryIDsArray) { $qb = $this->getNodesHierarchyQueryBuilder(); $qb->andWhere(‘node.id in…