<?php
namespace App\Controller;
use App\Repository\PageRepository;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class HonorairesController extends AbstractController
{
/**
* @Route("/honoraires", name="app_honoraires")
*/
public function index(PageRepository $pageRepository): Response
{
return $this->render('honoraires/index.html.twig', [
'pageHonoraires' => $pageRepository->findBy(['id' => '3'], []),
'pageTitle' => 'honoraires',
]);
}
}