<?php

namespace App\Repositories;

use App\Repositories\Shop\Categories;
use App\Repositories\Shop\Homepages;

class Config
{
    public static function init()
    {
        return [
            'auth' => Users::getUser() ? Users::getInfo() : false,
            'categories' => Categories::getTreeVisibles(),
            'footer' => Homepages::getFooter(),
            'extra_footer' => Homepages::getExtraFooter(),
        ];
    }
}
