/** * @param int $idParentNode * @param bool $excludeRoot * * @return array */ public function getPathChildren($idParentNode, $excludeRoot = true) { return $this->queryContainer->getChildrenPath($idParentNode, $excludeRoot)->find(); }