domain-watchdog/src/Controller/DomainRefreshController.php

19 lines
388 B
PHP
Raw Normal View History

2024-07-17 18:18:11 +02:00
<?php
namespace App\Controller;
use App\Service\RDAPService;
use Exception;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
class DomainRefreshController extends AbstractController
{
/**
* @throws Exception
*/
public function __invoke(string $ldhName, RDAPService $RDAPService): void
{
$RDAPService->registerDomains([$ldhName]);
}
}