mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
19 lines
470 B
PHP
19 lines
470 B
PHP
<?php
|
|
|
|
namespace App\Config\Connector;
|
|
|
|
use App\Entity\Domain;
|
|
use App\Entity\Tld;
|
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
|
|
|
interface ConnectorInterface
|
|
{
|
|
public function __construct(array $authData, HttpClientInterface $client);
|
|
|
|
public function orderDomain(Domain $domain, bool $dryRun): void;
|
|
|
|
public static function verifyAuthData(array $authData, HttpClientInterface $client): array;
|
|
|
|
public function isSupported(Tld ...$tld): bool;
|
|
}
|