src/Controller/AppController.php line 29

  1. <?php
  2. namespace App\Controller;
  3. use Doctrine\Persistence\ManagerRegistry;
  4. use Dompdf\Dompdf;
  5. use Dompdf\Options;
  6. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  7. use Symfony\Component\Finder\Finder;
  8. use Symfony\Component\HttpFoundation\BinaryFileResponse;
  9. use Symfony\Component\HttpFoundation\Request;
  10. use Symfony\Component\HttpFoundation\StreamedResponse;
  11. use Symfony\Component\Mailer\MailerInterface;
  12. use Symfony\Component\Mime\Email;
  13. use Symfony\Component\Routing\Annotation\Route;
  14. use Symfony\Component\HttpFoundation\Response;
  15. use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
  16. use Symfony\Contracts\HttpClient\HttpClientInterface;
  17. use Symfony\Contracts\Translation\TranslatorInterface;
  18. /**
  19.  * Class DefaultController
  20.  * @package AppBundle\Controller
  21.  */
  22. class AppController extends AbstractController
  23. {
  24.         #[Route("/"name:"home"methods: ["GET"])]
  25.     public function home():Response{
  26.         return $this->render('home.html.twig');
  27.     }
  28. }