<?php

namespace App\Domain\Scraping\Domain\Contract\Repository;

interface ContentSourceHealthRepositoryInterface
{
    public function markAsTesting(int $sourceId): void;

    public function markAsHealthy(int $sourceId, \DateTimeImmutable $testedAt): void;

    public function markAsUnhealthy(int $sourceId, \DateTimeImmutable $testedAt, string $error): void;
}
