<?php
namespace App\Controller;
use App\Form\DevisType;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class RealisationController extends AbstractController
{
/**
* @Route("/realisation", name="realisation")
*/
public function index(): Response
{
$form = $this->createForm(DevisType::class);
return $this->render('realisations/realisations.html.twig', ['form'=>$form->createView()]);
}
}