mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: EPP order domain
This commit is contained in:
@@ -15,7 +15,7 @@ use Psr\Cache\CacheItemInterface;
|
||||
use Psr\Cache\CacheItemPoolInterface;
|
||||
use Psr\Cache\InvalidArgumentException;
|
||||
|
||||
class EppClientProvider extends AbstractProvider implements EppClientProviderInterface
|
||||
class EppClientProvider extends AbstractProvider implements CheckDomainProviderInterface
|
||||
{
|
||||
private eppConnection $eppClient;
|
||||
|
||||
@@ -62,7 +62,9 @@ class EppClientProvider extends AbstractProvider implements EppClientProviderInt
|
||||
$d->addContact(new eppContactHandle($contact, $type));
|
||||
}
|
||||
|
||||
$this->eppClient->request(new eppCreateDomainRequest($d));
|
||||
if (!$dryRun) {
|
||||
$this->eppClient->request(new eppCreateDomainRequest($d));
|
||||
}
|
||||
|
||||
$this->eppClient->logout();
|
||||
$this->eppClient->disconnect();
|
||||
|
||||
Reference in New Issue
Block a user