<?php// src/Controller/DashboardController.phpnamespace App\Controller;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\Routing\Annotation\Route;class DashboardController extends AbstractController{ /** * @Route("/dashboard", name="blog_list") */ public function list() { $number = random_int(0, 100); return $this->render('pages/dashboard.html.twig', [ 'number' => $number, ]); }}