<?php

namespace App\Module\Agency\Service\Adapter;

interface AgencyAdapterInterface
{
    public function getSlug(): string;

    public function getName(): string;

    public function configure(array $config): void;

    public function fetchLatest(\DateTimeInterface $since): array;

    public function fetchById(string $externalId): ?array;

    public function testConnection(): bool;
}
