src/Controller/Mvc/CompanyController.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Mvc;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. #[Route(path"/company")]
  7. class CompanyController extends AbstractController
  8. {
  9.     #[Route(path'/'name'company_index')]
  10.     public function index(): Response
  11.     {
  12.         return $this->render('pages/company/index.html.twig', []);
  13.     }
  14.     #[Route(path'/outline'name'company_outline')]
  15.     public function outline(): Response
  16.     {
  17.         return $this->render('pages/company/outline.html.twig', []);
  18.     }
  19. }