root_id); return $this->render('submenu', [ 'rootCategory' => $rootCategory, 'rootClass' => $this->rootClass, 'populary' => $rootCategory->getAllChildren(2, ['populary' => true])->all(), 'items' => $rootCategory->getAllChildrenTree(2) ]); } }