src/Controller/Mvc/StaffController.php line 42

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"/staff")]
  7. class StaffController extends AbstractController
  8. {
  9.     #[Route(path'/'name'staff_index')]
  10.     public function index(): Response
  11.     {
  12.         return $this->render('pages/staff/index.html.twig', []);
  13.     }
  14.     #[Route(path'/detail_01'name'staff_detail_01')]
  15.     public function detail_01(): Response
  16.     {
  17.         return $this->render('pages/staff/detail_01/index.html.twig', []);
  18.     }
  19.     #[Route(path'/detail_02'name'staff_detail_02')]
  20.     public function detail_02(): Response
  21.     {
  22.         return $this->render('pages/staff/detail_02/index.html.twig', []);
  23.     }
  24.     #[Route(path'/detail_03'name'staff_detail_03')]
  25.     public function detail_03(): Response
  26.     {
  27.         return $this->render('pages/staff/detail_03/index.html.twig', []);
  28.     }
  29.     #[Route(path'/detail_04'name'staff_detail_04')]
  30.     public function detail_04(): Response
  31.     {
  32.         return $this->render('pages/staff/detail_04/index.html.twig', []);
  33.     }
  34.     #[Route(path'/detail_05'name'staff_detail_05')]
  35.     public function detail_05(): Response
  36.     {
  37.         return $this->render('pages/staff/detail_05/index.html.twig', []);
  38.     }
  39. }