src/Controller/Customer/StaticPagesController.php line 24

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Customer;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. class StaticPagesController extends AbstractController
  6. {
  7.     /**
  8.      * Index
  9.      * @return Response
  10.      */
  11.     public function index(): Response
  12.     {
  13.         return $this->render('customer/index.html.twig');
  14.     }
  15.     /**
  16.      * Price list
  17.      * @return Response
  18.      */
  19.     public function priceList(): Response
  20.     {
  21.         return $this->render('customer/price_list.html.twig');
  22.     }
  23.     /**
  24.      * Thank you
  25.      * @return Response
  26.      */
  27.     public function thankYou($order$api): Response
  28.     {
  29.         return $this->render('customer/thank_you.html.twig', [
  30.             'order' => $order,
  31.             'api' => $api
  32.         ]);
  33.     }
  34. }