<?php


namespace Mamad\Menu\Services;

use Mamad\Article\Models\Article;
use Mamad\Category\Models\Category;
use Mamad\Page\Models\Page;
use Mamad\Product\Models\Product;

class MenuServices
{
    public static function get_item_for_menu()
    {
       /* return [
            "برگه ها"
            => ["items"=>Page::get(),"type"=>"page"],
            "محصولات"=>[
                "items"=>Product::get(),"type"=>"product"
            ],
            "نوشته ها"
            =>["items"=>Article::get(),"type"=>"article"],
            "دسته ها"
            =>["items"=>Category::get(),"type"=>"category"],
        ];*/

        return config()->get("MenuItem.items");
    }
}
