mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: hello PostgreSQL
This commit is contained in:
@@ -5,11 +5,10 @@ namespace App\Command;
|
||||
use App\Message\UpdateRdapServers;
|
||||
use Symfony\Component\Console\Attribute\AsCommand;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Symfony\Component\Messenger\Exception\ExceptionInterface;
|
||||
use Symfony\Component\Messenger\MessageBusInterface;
|
||||
|
||||
#[AsCommand(
|
||||
@@ -18,7 +17,7 @@ use Symfony\Component\Messenger\MessageBusInterface;
|
||||
)]
|
||||
class UpdateRdapServersCommand extends Command
|
||||
{
|
||||
public function __construct(private MessageBusInterface $bus)
|
||||
public function __construct(private readonly MessageBusInterface $bus)
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
@@ -27,6 +26,9 @@ class UpdateRdapServersCommand extends Command
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws ExceptionInterface
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
|
||||
Reference in New Issue
Block a user