<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* Class AppController
* @package App\Controller
*/
class AppController extends AbstractController
{
/**
* @Route("/", name="home", methods={"GET"})
* @return Response
*/
public function index(): Response
{
return $this->render(
'app/index.html.twig',
array(
'controller_name' => 'AppController',
)
);
}
}