isShowInstance(), $request->getOpenNodes(), $request->getLimit(), $request->getOffset(), $request->getResourceUrisToShow(), $request->getFilters(), $request->getFiltersOptions(), [] ); $treeWrapper = new TreeWrapper($factory->buildTree($request->getClass())); if ($request->isHideNode()) { $treeWrapper = $treeWrapper->getDefaultChildren(); } return $treeWrapper; } }