<?php
namespace App\Controller;
use App\Util\VaciFacilController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class CoreController extends VaciFacilController
{
/**
* @Route("/", name="home")
* @return Response
*/
public function home(): Response
{
return $this->render(self::TEMPLATE_BASE, $this->getTemplateParameters());
}
/**
* @Route(
* "/{menu}/{item}/{action}",
* methods={"GET", "POST"},
* name="vaciFacil",
* requirements={"menu"="vaciFacil"}
* )
* @param Request $request
* @return Response
*/
public function vaciFacil(Request $request): Response
{
return $this->defaultHandler($request);
}
}