<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contracts\HttpClient\Exception\{ClientExceptionInterface,
RedirectionExceptionInterface,
ServerExceptionInterface
};
/**
* Default Controller
*/
class DefaultController extends AbstractController
{
/**
* @Symfony\Component\Routing\Annotation\Route("/", name="home")
*
* @return Response
* @throws ClientExceptionInterface
* @throws RedirectionExceptionInterface
* @throws ServerExceptionInterface
*/
public function index(): Response
{
return $this->render('default/index.html.twig');
}
}