for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PiouPiou\RibsAdminBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;
class PageController extends AbstractController
{
/**
* @Route("/contents", name="ribsadmin_contents")
* @return Response
*/
public function index(): Response
$navigation = $this->getDoctrine()->getManager()->getRepository("RibsAdminBundle:Navigation")->findAllNavigationPage();
return $this->render('@RibsAdmin/page/index.html.twig', ["navigation" => $navigation]);
}