<?php

declare(strict_types=1);

namespace PpPhp\Core\Discovery\Contracts;

use PpPhp\Core\Discovery\DiscoveryResult;

interface DiscoveryProviderInterface
{
    public function id(): string;

    public function label(): string;

    public function priority(): int;

    public function discover(string $basePath): DiscoveryResult;
}
