<?php

declare(strict_types=1);

namespace Maestro\Core\Support;

final class PackagePaths
{
    public static function stubsDirectory(): string
    {
        return dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'stubs';
    }

    public static function stubPath(string $relative): string
    {
        return self::stubsDirectory().DIRECTORY_SEPARATOR.str_replace('/', DIRECTORY_SEPARATOR, $relative);
    }
}
