<?php

namespace App\Monitor\Framework\Controller;

use App\Download\Action\Input\DeleteDownloadInput;
use App\Monitor\Action\Handler\AddMonitorHandler;
use App\Monitor\Action\Handler\DeleteMonitorHandler;
use App\Monitor\Action\Input\AddMonitorInput;
use App\Monitor\Action\Input\DeleteMonitorInput;
use App\Monitor\Framework\Repository\MonitorRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\DependencyInjection\Attribute\Autowire;
use Symfony\Component\Mercure\HubInterface;
use Symfony\Component\Mercure\Update;
use Symfony\Component\Routing\Attribute\Route;
use Twig\Environment;

class WebController extends AbstractController
{
    public function __construct(
        #[Autowire(service: 'twig')]
        private readonly Environment $renderer,
    ) {}

    #[Route('/monitors', name: 'app_monitors', methods: ['GET'])]
    public function addMonitor()
    {
        return $this->render('monitor/index.html.twig');
    }
}
