<?php
declare(strict_types=1);

namespace PpPhp\Core\Platform\Kernel\Facades;

use PpPhp\Core\Platform\Kernel\Platform;

final class Modules
{
    public static function all(): array { return Platform::modules()->all(); }
    public static function enabled(): array { return Platform::modules()->enabled(); }
    public static function has(string $id): bool { return Platform::modules()->has($id); }
    public static function get(string $id) { return Platform::modules()->get($id); }
    public static function count(): int { return Platform::modules()->count(); }
}
