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