src/Controller/EntrepriseController.php line 23

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use App\Entity\Contact;
  4. use App\Form\ContactType
  5. use App\Service\MailTransport;
  6. use Doctrine\ORM\EntityManager;
  7. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  8. use Symfony\Component\HttpFoundation\Request;
  9. use Symfony\Component\Mime\Email;
  10. use Symfony\Component\Routing\Annotation\Route;
  11. use Symfony\Component\Mailer\MailerInterface;
  12. use PHPMailer\PHPMailer\PHPMailer;
  13. use PHPMailer\PHPMailer\SMTP;
  14. use PHPMailer\PHPMailer\Exception;
  15. use Symfony\Bridge\Twig\Mime\TemplatedEmail;
  16. use Doctrine\ORM\EntityManagerInterface;
  17. class EntrepriseController extends AbstractController
  18. {
  19.     #[Route('/notre-entreprise'name'app_entreprise_index')]
  20.     public function index(Request $request)
  21.     {
  22.         return $this->render('notre_entreprise/index.html.twig', [
  23.         ]);
  24.     }
  25.     
  26. }