<?php
namespace App\Controller\Customer;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
class StaticPagesController extends AbstractController
{
/**
* Index
* @return Response
*/
public function index(): Response
{
return $this->render('customer/index.html.twig');
}
/**
* Price list
* @return Response
*/
public function priceList(): Response
{
return $this->render('customer/price_list.html.twig');
}
/**
* Thank you
* @return Response
*/
public function thankYou($order, $api): Response
{
return $this->render('customer/thank_you.html.twig', [
'order' => $order,
'api' => $api
]);
}
}