Elcodi\Store\ProductBundle\Services\StoreCategoryTree::buildStoreCategoryTree PHP Method

buildStoreCategoryTree() protected method

Build the store category tree (Can change depending on categories enabled and store config).
protected buildStoreCategoryTree ( ) : Array
return Array Category tree
    protected function buildStoreCategoryTree()
    {
        $categoryTree = $this->categoryTreeService->buildCategoryTree();
        return $this->formatCategoryTree($categoryTree);
    }