<?php
namespace App\Controller;
use Psr\Log\LoggerInterface;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class StaticPagesController extends AbstractController
{
private $logger;
public function __construct(
LoggerInterface $logger
) {
$this->logger = $logger;
}
#[Route('/quienes-somos', name: 'app_about_us', methods: ["GET"])]
public function aboutUs(): Response
{
$this->logger->debug(__METHOD__);
return $this->render('static-pages/about_us.html.twig', []);
}
#[Route('/faq', name: 'app_faq', methods: ["GET"])]
public function faq(): Response
{
$this->logger->debug(__METHOD__);
return $this->render('static-pages/faq.html.twig', []);
}
}