<?php
namespace App\Controller\Site;
use App\Controller\BaseController;
//use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Doctrine\ORM\EntityManagerInterface;
use Knp\Component\Pager\PaginatorInterface;
use App\Form\TypenewsType;
use App\Entity\Service;
class ServicesController extends BaseController
{
/**
* @Route("/Services/{id}", name="servicefront_show", methods={"GET"})
* @Route("/services/{id}")
*/
public function showfronts(Service $service): Response
{
$status=true;
return $this->render('site/services/services.html.twig', [
'service' => $service,
]);
}
}