<?php

namespace App\Repositories;

use App\Repositories\Shop\Categories;
use App\Repositories\Shop\Contents;

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