public getCategoryTree ( ) : Sonata\ClassificationBundle\Model\CategoryInterface[] | ||
Результат | Sonata\ClassificationBundle\Model\CategoryInterface[] |
public function getCategoryTree();
/** * @param \Knp\Menu\ItemInterface $menu The item to fill with $routes * @param array $options The item options * @param string $currentUri The current URI */ public function buildCategoryMenu(ItemInterface $menu, array $options = array(), $currentUri = null) { $categories = $this->categoryManager->getCategoryTree(); $this->fillMenu($menu, $categories, $options, $currentUri); }