<?php

namespace App\Controller\Admin\EventConfig;

use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Requirement\Requirement;
use Symfony\Component\Routing\Attribute\Route;
use Doctrine\ORM\EntityManagerInterface;

use App\Entity\Event;

final class PartyController extends AbstractController
{
    #[Route('/admin/event/{id}/configure/party', name: 'app_admin_event_config_party', requirements: ['id' => Requirement::UUID_V7], methods: ['GET', 'POST'])]
    public function index(?Event $event): Response
    {
        return $this->render('admin/event/config/party.html.twig', [
            'event' => $event,
        ]);
    }

}
