<?php

declare(strict_types=1);

namespace App\Core;

use App\Shared\Support\Path;

final class Url
{
    public static function baseUri(): string
    {
        return Path::baseUri();
    }

    public static function to(string $path = ''): string
    {
        return Path::url($path);
    }

    public static function asset(string $path): string
    {
        return Path::asset($path);
    }

    public static function publicPath(string $relative = ''): string
    {
        return Path::public($relative);
    }
}
