<?php
namespace App\Controller\Front;
use App\Application\Service\Menu\MenuService;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
class FooterController extends AbstractController
{
private MenuService $footerService;
public function __construct(MenuService $footerService)
{
$this->footerService = $footerService;
}
public function footer(): Response
{
return $this->render('front/base/footer/footer.html.twig', [
'corporate_links' => $this->footerService->getCorporateLinks(),
'bottom_links' => $this->footerService->getBottomLinks(),
'social_links' => $this->footerService->getSocialLinks(),
'awards' => $this->footerService->getAwards(),
'languages' => $this->footerService->getLanguages(),
'is_shop' => false,
]);
}
}